Skip to content
Commit 35cc774a authored by Seppo Takalo's avatar Seppo Takalo Committed by Alberto Escolar
Browse files

net: lwm2m: Retry DTLS handshake before dropping to bootstrap



Allow DTLS handshake to be retried before the engine
drops into bootstrap. Otherwise any termporary failure,
for example DNS failure might drop us into bootstrap
without retrying.

Now all the retry logic should be in sm_do_network_error().
sm_do_registration() should only fall back to bootstrap
if there is configuration error.

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