Skip to content
Commit e7b06e1c authored by Seppo Takalo's avatar Seppo Takalo Committed by Anas Nashif
Browse files

net: lwm2m: send REGISTRATION_TIMEOUT event on error



When socket errors call sm_handle_timeout_state() we might be
in a state where application assumes we are in registered state
but we are dropping it.
Therefore we must ensure that all registration states emit either
REGISTRATION_TIMEOUT event for application to indicate that
we have lost the connection to server.

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