We are now ready to test our LWM2M devices. You can use any LWM2M-enabled server, either publicly available on the internet or hosted by yourself. This is one of the benefits of using standards. The examples in this chapter assume we use the publicly available Leshan server sandbox hosted by eclipse.org. The following table summarizes some of the communication parameters:
LWM2M Server Web portal:
LWM2M CoAP/UDP port:
LWM2M CoAP/DTLS/UDP port:
Bootstrap CoAP/UDP port:
Bootstrap CoAP/DTLS/UDP port:
The first step is to configure the bootstrap server. Go to the bootstrap portal and click
Add new client bootstrap configuration. The web portal will allow you to create a bootstrap configuration, where the client connects to the bootstrap server using unencrypted CoAP, and then gets...