-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8148 from moenoel/update-wakaama
pkg: wakaama: Fix and update wakaama package to version fe48d45
- Loading branch information
Showing
20 changed files
with
351 additions
and
342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 71152ca234e7af2bd96ec3a425976c818edb8753 Mon Sep 17 00:00:00 2001 | ||
From: Christian Manal <moenoel@informatik.uni-bremen.de> | ||
Date: Thu, 23 Nov 2017 10:55:07 +0100 | ||
Subject: [PATCH 01/12] change header location | ||
|
||
--- | ||
core/internals.h | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/core/internals.h b/core/internals.h | ||
index 30d3942..79c6c4c 100644 | ||
--- a/core/internals.h | ||
+++ b/core/internals.h | ||
@@ -61,7 +61,7 @@ | ||
#include <stddef.h> | ||
#include <stdbool.h> | ||
|
||
-#include "er-coap-13/er-coap-13.h" | ||
+#include "er-coap-13.h" | ||
|
||
#ifdef LWM2M_WITH_LOGS | ||
#include <inttypes.h> | ||
-- | ||
2.1.4 | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 8497756fbb1bfdc283f98430e101cd89ab84c18d Mon Sep 17 00:00:00 2001 | ||
From: Christian Manal <moenoel@informatik.uni-bremen.de> | ||
Date: Thu, 23 Nov 2017 10:55:57 +0100 | ||
Subject: [PATCH 02/12] define endianness | ||
|
||
--- | ||
core/internals.h | 6 ++++++ | ||
1 file changed, 6 insertions(+) | ||
|
||
diff --git a/core/internals.h b/core/internals.h | ||
index 79c6c4c..f6490d1 100644 | ||
--- a/core/internals.h | ||
+++ b/core/internals.h | ||
@@ -63,6 +63,12 @@ | ||
|
||
#include "er-coap-13.h" | ||
|
||
+#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ | ||
+#define LWM2M_LITTLE_ENDIAN | ||
+#else | ||
+#define LWM2M_BIG_ENDIAN | ||
+#endif | ||
+ | ||
#ifdef LWM2M_WITH_LOGS | ||
#include <inttypes.h> | ||
#define LOG(STR) lwm2m_printf("[%s:%d] " STR "\r\n", __func__ , __LINE__) | ||
-- | ||
2.1.4 | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
pkg/wakaama/patches/0005-fixed-warnings-in-registration.c.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From b4060e323b9683f13f6e717ddbbba8fed5bb6d3d Mon Sep 17 00:00:00 2001 | ||
From: Christian Manal <moenoel@informatik.uni-bremen.de> | ||
Date: Thu, 23 Nov 2017 11:28:37 +0100 | ||
Subject: [PATCH 05/12] fixed warnings in registration.c | ||
|
||
--- | ||
core/registration.c | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/core/registration.c b/core/registration.c | ||
index 55d6ed8..a2fca3f 100644 | ||
--- a/core/registration.c | ||
+++ b/core/registration.c | ||
@@ -1283,6 +1283,9 @@ void registration_step(lwm2m_context_t * contextP, | ||
time_t currentTime, | ||
time_t * timeoutP) | ||
{ | ||
+ (void)contextP; | ||
+ (void)currentTime; | ||
+ (void)timeoutP; | ||
#ifdef LWM2M_CLIENT_MODE | ||
lwm2m_server_t * targetP = contextP->serverList; | ||
|
||
-- | ||
2.1.4 | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
From 2f8c7bd7eabd55f2f4dd0da5e2a252b95f0e51c9 Mon Sep 17 00:00:00 2001 | ||
From: Darredevil <alex.darredevil@gmail.com> | ||
Date: Thu, 13 Aug 2015 13:03:42 +0100 | ||
Subject: [PATCH 6/6] fixed warnings in utils.c | ||
From 91e610adbf53342088242e7bc6a207fc4b48a715 Mon Sep 17 00:00:00 2001 | ||
From: Christian Manal <moenoel@informatik.uni-bremen.de> | ||
Date: Thu, 23 Nov 2017 11:35:06 +0100 | ||
Subject: [PATCH 06/12] fixed warnings in utils.c | ||
|
||
--- | ||
core/utils.c | 4 +++- | ||
1 file changed, 3 insertions(+), 1 deletion(-) | ||
core/utils.c | 3 ++- | ||
1 file changed, 2 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/core/utils.c b/core/utils.c | ||
index f62e932..c07ef4b 100644 | ||
index 715dec9..a06d1f6 100644 | ||
--- a/core/utils.c | ||
+++ b/core/utils.c | ||
@@ -13,7 +13,7 @@ | ||
* Contributors: | ||
* David Navarro, Intel Corporation - initial API and implementation | ||
* Toby Jaffey - Please refer to git log | ||
- * | ||
+ * | ||
*******************************************************************************/ | ||
|
||
/* | ||
@@ -357,6 +357,8 @@ lwm2m_server_t * prv_findServer(lwm2m_context_t * contextP, | ||
@@ -52,7 +52,6 @@ | ||
#include <stdio.h> | ||
#include <float.h> | ||
|
||
- | ||
int utils_textToInt(uint8_t * buffer, | ||
int length, | ||
int64_t * dataP) | ||
@@ -376,6 +375,8 @@ lwm2m_server_t * utils_findServer(lwm2m_context_t * contextP, | ||
lwm2m_server_t * utils_findBootstrapServer(lwm2m_context_t * contextP, | ||
void * fromSessionH) | ||
{ | ||
+ (void)contextP; | ||
+ (void)fromSessionH; | ||
#ifdef LWM2M_CLIENT_MODE | ||
|
||
lwm2m_server_t * targetP; | ||
-- | ||
1.9.1 | ||
-- | ||
2.1.4 | ||
|
Oops, something went wrong.