zephyr/subsys/net/lib/coap
Pieter De Gendt 421ecb77a3 net: coap: Add coap_next_block_for_option function
Add a function to update the coap block context from a
packet, according to the block option enum provided.

The existing coap_next_block does not handle block1 transfers
properly because we need to inspect the block1 option
returned by the server. This function is reworked to make use
of the newly introduced one.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2021-10-27 13:46:19 -04:00
..
CMakeLists.txt
coap_link_format.c net: coap: clean up token usage in samples and tests 2021-02-02 14:03:01 -05:00
coap.c net: coap: Add coap_next_block_for_option function 2021-10-27 13:46:19 -04:00
Kconfig net: coap: Keep user data inside message 2021-06-09 18:41:42 +03:00