911efb0e72
In the 08 Feb 2017 V1.0 LwM2M specification page 80 mentions: in response to a "Notify" operation for which it is not interested in any more, the LwM2M Server can send a "Reset Message". Leshan server sends this CoAP RST response and it does not contain the originating message token (which is also how the packet flow looks on page 81 of the LwM2M spec). Using the current ZoAP sources, the client has no way of matching back to observation which needs to be cancelled. Let's add a match for message ID of a reply where there is no token to handle this case. Signed-off-by: Michael Scott <michael.scott@linaro.org> [ricardo.salveti@linaro.org: Handle both piggybackend and separate response (id doesn't need to match, only token).] Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org> |
||
---|---|---|
.. | ||
Kbuild | ||
Kconfig | ||
Makefile | ||
zoap.c | ||
zoap_link_format.c |