Skip to content
Commit 4d6372be authored by Seppo Takalo's avatar Seppo Takalo Committed by Benjamin Cabé
Browse files

net: lwm2m: Fix Notify response handling



As the CoAP library was refactored to handle response
messages as stated by RFC, the LwM2M message handling was
untouched.
LwM2M Notify handling is relying on response callback
to be called, but as per CoAP RFC an empty Ack is not
actually a response and the callback was not called anymore.

Fix the issue by calling the response callback when
we receive an empty ack for any confirmable response
messages.
This should not affect any handling of CoAP requests.

Signed-off-by: default avatarSeppo Takalo <seppo.takalo@nordicsemi.no>
parent 2a642f18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment