You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please correct me if my understanding is wrong. Wakaama client has this behavior where if it sends a registration update message and it does not get reply from the LwM2M server, it will change immediately to STATE_BOOTSTRAP_REQUIRED.
What I'm complaining about, since LwM2M is mostly UDP, we should expect some packet loss. Therefore, we should not immediately go to STATE_BOOTSTRAP_REQUIRED just because we failed once. I believe multiple attempts should take place first, (maybe with a exponential backoff) before wakaama client decide that the server is lost forever.
The text was updated successfully, but these errors were encountered:
Answer: set the values in serverInstance struct, in the get_server_object() function, in the object_server.c
serverInstance->bootstrapOnRegistrationFailure=0; // Don't bootstrap on registration failureserverInstance->communicationRetryCount=3; // Retry 3 times before entering failureserverInstance->communicationRetryTimer=5; // Retry for 5 seconds times exponential back-off
Please correct me if my understanding is wrong. Wakaama client has this behavior where if it sends a registration update message and it does not get reply from the LwM2M server, it will change immediately to
STATE_BOOTSTRAP_REQUIRED
.What I'm complaining about, since LwM2M is mostly UDP, we should expect some packet loss. Therefore, we should not immediately go to
STATE_BOOTSTRAP_REQUIRED
just because we failed once. I believe multiple attempts should take place first, (maybe with a exponential backoff) before wakaama client decide that the server is lost forever.The text was updated successfully, but these errors were encountered: