Skip to content
Commit dc7fbc5d authored by Seppo Takalo's avatar Seppo Takalo Committed by Fabio Baltieri
Browse files

net: lwm2m: Fix pause and resume on non-closed sockets



Pause and resume functionality was written into assumption
that sockets are closed before resuming.

With use new options CONFIG_LWM2M_RD_CLIENT_STOP_POLLING_AT_IDLE
or CONFIG_LWM2M_RD_CLIENT_LISTEN_AT_IDLE this is not always true.
Fix the state machine, so that on those cases, sockets are not
closed and resume is always similar like from the QUEUE mode.

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