Skip to content
Commit 8aed2a1b authored by Marc Lasch's avatar Marc Lasch Committed by Benjamin Cabé
Browse files

net: lwm2m: Prevent client restart on bootstrap finish retransmission



Ignore bootstrap 'transition done' state transition
(ENGINE_BOOTSTRAP_TRANS_DONE) from an invalid state. The client must be
in state ENGINE_BOOTSTRAP_REG_DONE to process a bootstrap finish command
received from the server.

The LwM2M client does not implement CoAP deduplication (rfc 7252,
section 4.5) and retransmissions of the bootstrap finish command `/bs`
would restart the registration client with undesired side effects.

Signed-off-by: default avatarMarc Lasch <marc.lasch@husqvarnagroup.com>
parent e7a65ac9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment