You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per CoAP spec, the TKL field is in range of 0 to 8. At the same time, the logic which parses variable-sized integers only supports inputs of 0,1,2,3,4 and 8 bytes. I believe this is the relevant line.
This makes https://juullabs.github.io/koap/ unable to decode messages like 568400004f6273657277, which has TKL of 6. I suppose that TKLs of 5 and 7 aren't supported, too.
The text was updated successfully, but these errors were encountered:
Per CoAP spec, the TKL field is in range of 0 to 8. At the same time, the logic which parses variable-sized integers only supports inputs of 0,1,2,3,4 and 8 bytes. I believe this is the relevant line.
This makes https://juullabs.github.io/koap/ unable to decode messages like
568400004f6273657277
, which has TKL of 6. I suppose that TKLs of 5 and 7 aren't supported, too.The text was updated successfully, but these errors were encountered: