Skip to content

Commit

Permalink
fixup! examples/lwm2m: update to new API and use DTLS
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrolanzieri committed May 6, 2024
1 parent 9a1f209 commit 36e5b53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/lwm2m/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Router, you might want to specify:
java -jar ./leshan-server-demo.jar -lh fd00:dead:beef::1
```

In the security section click 'Add new client security configuration', select the security mode
In the security section click 'Add Security Information', select the security mode
'Pre-Shared Key', and enter the Client endpoint name and the security information
(Identity and Key).

Expand Down Expand Up @@ -73,8 +73,8 @@ BS_COAPSPORT=5686
BS_WEBPORT=8888
# run the server
java -jar ./leshan-bsserver-demo.jar --coapport ${BS_COAPPORT} \
--coapsport ${BS_COAPSPORT} --webport ${BS_WEBPORT}
java -jar ./leshan-bsserver-demo.jar --coap-port ${BS_COAPPORT} \
--coaps-port ${BS_COAPSPORT} --web-port ${BS_WEBPORT}
```

To set up the configuration of the node and the server:
Expand Down

0 comments on commit 36e5b53

Please sign in to comment.