diff --git a/examples/lwm2m/README.md b/examples/lwm2m/README.md index dc13c58c46f4..784969196236 100644 --- a/examples/lwm2m/README.md +++ b/examples/lwm2m/README.md @@ -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). @@ -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: