March 2018
Beginner to intermediate
410 pages
10h 40m
English
We will use a bootstrap server in our example. When the application starts, we want it to connect to the previous bootstrap server to see if there's any new information for it. If there's no configured bootstrap server available, we provide a reference to one. Data provided by the bootstrap server will be persisted in the persistence layer. This data will include what LWM2M servers to register with, and what credentials to use. So, to begin, we first need to load any previous data, if such is available. Directly after creating our client, we call the LoadBootstrapInfo method:
await this.lwm2mClient.LoadBootstrapInfo();
We then initiate the bootstrap procedure. If no bootstrap information was found, we ask ...
Read now
Unlock full access