Skip to content
Commit 2160e0fc authored by Robert Lubos's avatar Robert Lubos Committed by Kumar Gala
Browse files

net: lwm2m: Fix Registration failue reporting



In case LwM2M server or bootstrap server rejected
Registration/Registration Update/Deregsitration attempt, there were no
reasonable notification to the application. Fix this by reporting
LWM2M_RD_CLIENT_EVENT_*_FAILURE in such case.

Addtitionaly, remove pointless ENGINE_DEREGISTER_FAILED event, which
have no use in the state machine.

Finally, simplify the response code logging to prevent code duplication.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 56018056
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment