Benjamin Valentin
769978904a
suit/transport/coap: use coap_opt_put_uri()
...
The URI is passed as a string to `suit_coap_get_blockwise()`.
It may contain query parameters, those will not be translated
properly to CoAP options if `coap_opt_put_uri_path()` is used.
Instead use `coap_opt_put_uri()` to handle both path and query
parameters.
2021-02-23 18:27:54 +01:00
Benjamin Valentin
191c91ce18
suit/transport/coap: make blocksize configurable
...
When using SUIT over a link-layer that supports larger PDU, a larger
CoAP blocksize is desirable to speed up firmware downloads.
To support this, make the CoAP blocksize used by SUIT configurable.
2020-12-03 10:51:42 +01:00
Firas Hamdi
398889cafa
sys/suit: fix use w/o progress bar
...
apply change
2020-12-02 10:51:36 +01:00
Bas Stottelaar
1b35d06a51
sys/*: realign ENABLE_DEBUG
2020-10-23 11:27:48 +02:00
Bas Stottelaar
80d9da90df
sys/*: add missing include of assert.h
2020-10-22 11:13:09 +02:00
Bas Stottelaar
47d376c5c3
sys/*: add explicit include of timex.h
2020-10-21 21:47:31 +02:00
b72d510690
suit/transport/mock: Use common storage backend
2020-09-30 14:32:27 +02:00
edeffdcd54
suit: Adapt manifest handling to use common storage backend
2020-09-30 14:32:27 +02:00
fc794d9a21
Merge pull request #15092 from bergzand/pr/suit/per_component_flags
...
suit: Introduce per-component flags
2020-09-29 15:03:06 +02:00
d9cf10c109
suit: Introduce per-component flags
2020-09-29 13:09:32 +02:00
Francisco
bfb8fc52b1
Merge pull request #15094 from bergzand/pr/suit/secure_fetch
...
SUIT: fail fetch if the image size doesn't match expected
2020-09-28 14:11:26 +02:00
91df9cae87
suit: Finalize image after digest verification
2020-09-26 14:40:14 +02:00
791155d3dd
suit/coap: fail fetch if the image size doesn't match expected
2020-09-26 13:34:50 +02:00
cdf45f9798
suit: Move policy check to before fetch
...
This prevents the whole payload fetch if the manifest fails the policy
check
2020-09-26 12:48:53 +02:00
c8ecc9c3ca
suit: Upgrade manifest parser to IETF-v9 compliance
2020-09-24 21:15:08 +02:00
Leandro Lanzieri
9e427e1584
net/coap: Move COAP_MAX_RETRANSMIT to 'CONFIG' namespace
...
COAP_MAX_RETRANSMIT is moved to the compile time configuration macro
namespace.
2020-04-24 10:06:43 +02:00
Leandro Lanzieri
072a0d8563
net/coap: Move COAP_ACK_TIMEOUT to 'CONFIG' namespace
...
COAP_ACK_TIMEOUT is moved to the compile time configuration macro
namespace.
2020-04-24 10:06:40 +02:00
e12defd5a0
suit/transport/coap: Use nanocoap coap_tree_handler
2020-03-24 09:38:24 +01:00
413b91326f
tests/suit_v3_manifest: Add draft-ietf-v3 manifest parser test
...
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-03-19 22:56:01 +01:00
14bdf8f46b
sys/suit: Add SUIT draft ietf-v3 firmware upgrade module
...
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-03-18 14:13:12 +01:00