[riot-notifications] [RIOT-OS/RIOT] suit: Initial minimal SUIT parser (#10315)

Koen Zandberg notifications at github.com
Wed Feb 27 08:51:12 CET 2019


bergzand commented on this pull request.



> +#define ENABLE_DEBUG (0)
+#include "debug.h"
+
+static int _advance_x(CborValue *it, unsigned x)
+{
+    for(unsigned i=0; i < x; i++)
+    {
+        cbor_value_advance(it);
+        if (cbor_value_at_end(it)) {
+            return -1;
+        }
+    }
+    return 0;
+}
+
+static int parse_manifest_version(CborValue *it,

I should know better, changed 5 occurences.

-- 
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/10315#discussion_r260625837
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190227/0f6e21f3/attachment.html>


More information about the notifications mailing list