I am currently implementing the CoAP block options for our application, when I noticed that CoAP option parameters are not correctly handled by the library provided by NXP.
According to RFC7252 section 3.1 a CoAP option can have an extended option delta if the option name does not fit in the 4 bits of the header.
The problem I have is that the extended option delta is not correctly handled by the library:
When parsing the rx options of the coapSession_t struct in the coap handler, the extended option field is used as the option value and the actual value is parsed as additional options.
By the way, the length of the coap value can also be split into an extended length field, but this is correctly handled by the library.
Connectivity Framework v5.3.3
NXP Thread v188.8.131.52
IEEE 802.15.4 MAC v5.3.3