Testing your LWM2M device
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: | http://leshan.eclipse.org/ |
LWM2M CoAP/UDP port: |
|
LWM2M CoAP/DTLS/UDP port: |
|
Bootstrap portal: | http://leshan.eclipse.org/bs/ |
Bootstrap CoAP/UDP port: |
|
Bootstrap CoAP/DTLS/UDP port: |
|
Home page: | https://eclipse.org/leshan/ |
GitHub: | https://github.com/eclipse/leshan |
Configuring the bootstrap server
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...