[riot-notifications] [RIOT-OS/RIOT] net/nanocoap: iterate options (#12074)

chrysn notifications at github.com
Wed Sep 11 16:31:57 CEST 2019


Working through #12075 alerted me to the struct details of the iterator being exposed here rather than being an implementation detail that could change later. In the light of extensibility towards consuming OSCORE packages, those details should be hidden.

Most fields in the iterator are only relevant to construction (for which dedicated functions can be defined), but the option number (or delta to whatever the initial value was at) is advertised for being picked out of the struct. I suggest this be populated into a field similar to &value.

-- 
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/12074#issuecomment-530407906
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190911/15bcfb7f/attachment.htm>


More information about the notifications mailing list