[riot-notifications] [RIOT-OS/RIOT] pkg/wakaama: Add basic LWM2M client implementation (#11036)

Ken Bannister notifications at github.com
Fri Mar 22 10:25:06 CET 2019

kb2ma commented on this pull request.

> +BS_WEBPORT=8888
+# run the server
+java -jar ./leshan-bsserver-demo.jar --coapport ${BS_COAPPORT} \
+            --coapsport ${BS_COAPSPORT} --webport ${BS_WEBPORT}
+To set up the configuration of the node and the server:
+1. Click the `Add new client bootstrap configuration` button.
+2. Fill in the name of the device, it **should** match the one set in
+   `sys/net/lwm2m.h` as `LWM2M_DEVICE_NAME`.
+3. Using the `LWM2M Server` tab enter the address where the LWM2M server is
+   listening. For now only `No security` mode can be used.
+### Running the client
+The address set in `sys/net/lwm2m.h` as `LWM2M_SERVER_URI` should be reachable

I found that I had to include the port in LWM2M_SERVER_URI (actually SERVER_URI in the Makefile) to get this to work with a bootstrap server on port 5685. For example: `SERVER_URI="coap://[fd00:bbbb::1]:5685"` In other words, it is not enough to have LWM2M_BSSERVER_PORT set to 5685. Did it work for you without including the port in LWM2M_SERVER_URI?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190322/3c479be0/attachment.html>

More information about the notifications mailing list