[riot-notifications] [RIOT-OS/RIOT] sys/suit: initial support for SUIT firmware updates (#11818)
benpicco
notifications at github.com
Tue Nov 10 13:59:19 CET 2020
@benpicco commented on this pull request.
> + if (_buf->offset != offset) {
+ return 0;
+ }
+ if (len > _buf->len) {
+ return -1;
+ }
+ else {
+ memcpy(_buf->ptr, buf, len);
+ _buf->offset += len;
+ _buf->ptr += len;
+ _buf->len -= len;
+ return 0;
+ }
+}
+
+ssize_t suit_coap_get_blockwise_url_buf(const char *url,
This is not in any header - should be `static`?
--
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/11818#pullrequestreview-527175510
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201110/0908b4ad/attachment.htm>
More information about the notifications
mailing list