[riot-notifications] [RIOT-OS/RIOT] nanocoap: add coap_opt_put_uri() (#15830)
notifications at github.com
Thu Jan 21 17:16:20 CET 2021
Given our CoAP messages are built for sequential option addition, I think that the better course here would be to parse the URI once, and then have the different functions to apply the components to a message.
For some applications it may be convenient to have a convenience function that sets all options, but that should be documented to be a convenience function equivalent to calling this particular list of functions, so that users who do need to add options inbetween can switch over easily.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications