@@ -13,6 +13,13 @@ The IETF has created the Constrained Application Protocol (CoAP) which has a cli
1313 <figcaption >LwM2M architecture (<a href =" https://www.avsystem.com/blog/lightweight-m2m-lwm2m-overview/ " >Source</a >)</figcaption >
1414</figure >
1515
16+ ## Connect to the IoT-LAB Leshan broker
17+
18+ ** Important things:**
19+
20+ * Leshan broker is accessible only via IPv6 at ** leshan6.iot-lab.info** on port 5683
21+ * Leshan dashboard is accessible only via IPv4 at ** [ leshan4.iot-lab.info] ( http://leshan4.iot-lab.info/ ) ** on port 80
22+
1623
1724### Register a LwM2M client
1825
@@ -23,15 +30,15 @@ ssh <login>@<site>.iot-lab.info
2330< login> @< site> :~ $ git clone https://github.com/eclipse/wakaama.git
2431< login> @< site> :~ $ cmake wakaama/examples/client
2532< login> @< site> :~ $ make
26- < login> @< site> :~ $ ./lwm2mclient -h leshan .iot-lab.info
33+ < login> @< site> :~ $ ./lwm2mclient -h leshan6 .iot-lab.info
2734Trying to bind LWM2M Client to port 56830
2835LWM2M Client " testlwm2mclient" started on port 56830
29- > Opening connection to server at leshan .iot-lab.info:5683
36+ > Opening connection to server at leshan6 .iot-lab.info:5683
3037 -> State: STATE_REGISTERING
31- 22 bytes received from [2001:660:5307:3200 ::2]:5683
32- 64 41 B4 18 18 B4 50 39 82 72 64 0A 32 4E 75 48 dA....P9. rd.2NuH
33- 39 59 79 71 47 61 9YyqGa
38+ 22 bytes received from [2a07:2e40:fffe:10 ::2]:5683
39+ 64 41 7B 48 48 7B 21 42 82 72 64 0A 56 4E 73 79 dA{HH{ ! B. rd.VNsy
40+ 64 4B 6C 47 59 71 dKlGYq
3441 -> State: STATE_READY
3542```
3643
37- You can check the registration directly on the [ web interface] ( http://leshan .iot-lab.info ) of the Leshan server.
44+ You can check the registration directly on the [ web interface] ( http://leshan4 .iot-lab.info/ ) of the Leshan server.
0 commit comments