obgm / libcoap

A CoAP (RFC 7252) implementation in C
Other
777 stars 421 forks source link

Block1: Handle large FETCH with large blocked request and Observe #1433

Closed mrdeep1 closed 3 weeks ago

mrdeep1 commented 4 weeks ago

Handle Observe cancellation with large blocked FETCH that needs to use diffferent tokens when there is packet loss by checking the cache-key if the token is not found (Q-Block1).

Let FETCH with Q-Block1 use NON now that cache-key is getting checked if token mismatch.

Handle getting an unsolicited Observe response in the middle of sending the FETCH blocks that ultimately will be doing the Observe cancellation following re-assembly. (The unsolicited Observe token will be the same token that is used to respond to the observe cancellation).