ConnectivityFoundry / AwaLWM2M

Awa LWM2M is an implementation of the OMA Lightweight M2M protocol in C.
BSD 3-Clause "New" or "Revised" License
102 stars 66 forks source link

How to initialize and persist client state #360

Open bgreen0 opened 7 years ago

bgreen0 commented 7 years ago

Hi, I'm beginning to get familiar with the lwm2m client daemon, and I'm fairly new to lwm2m. How does one create and initialize objects before the client contacts a server (bootstrap or otherwise)? Consider the Device object for example. How is it supposed to get initialized on startup such that it can be queried by the server? Secondly, can the client persist its state, including subscriptions, so that it doesn't always start from a completely uninitialized state?

Thanks, Bryan