[riot-notifications] [RIOT-OS/RIOT] pkg/wakaama: Add basic LWM2M client implementation (#11036)

Leandro Lanzieri notifications at github.com
Wed Jun 5 09:32:33 CEST 2019


leandrolanzieri commented on this pull request.



> +                                lwm2m_object_t *objectP)
+{
+    int i;
+    uint8_t result = COAP_404_NOT_FOUND;
+    dev_data_t *data = (dev_data_t *)objectP->userData;
+
+    (void)data;
+
+    (void)instance_id;
+    (void)num_data;
+    (void)data_array;
+
+    for (i = 0; i < num_data; i++) {
+        switch (data_array[i].id) {
+            /* Writable */
+            case LWM2M_RES_TIME:

I could add a 'count' value to the enum and check...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11036#discussion_r290610933
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190605/fa0ea750/attachment.html>


More information about the notifications mailing list