March 2018
Beginner to intermediate
410 pages
10h 40m
English
We begin by declaring a new field member of type Lwm2mClient (defined in the namespace Waher.Networking.Lwm2m):
private Lwm2mClient lwm2mClient = null;
The Lwm2mClient class provides the basic LWM2M functionality described previously. When we instantiate it, we need to provide it with a client name, a reference to the CoAP endpoint that will be used for communication, and some basic LWM2M objects. We begin by providing it with the security object (0), the server object (1), the access control object (2), and the device object (3). We don't have to provide any details for the first three. We will let the bootstrap process take care of filling these with values. The device object, however, requires some parameters ...
Read now
Unlock full access