In LWM2M spec, in section 8.6.1 UDP Binding, it is given that,
"The CoAP binding for UDP is defined in [CoAP]. The protocol has a IANA registered scheme of coap:// and a default port of 5683. The UDP binding is used in NoSec (no security) mode. Reliability over the UDP transport is provided by the built-in retransmission mechanism of CoAP."
1. Does that mean that initial client registration is unsecure.
2. Is it like we can use only one of ports (5683/5684) at a time?
3. Are there any messages which goes through 5684 alone?
By default, 5683 is for unsecure communication and 5684 is for
secure communication (based on DTLS[1]).
Of course server could bind 5683 and 5684 with a single IP address.
Hi,
I am new to LWM2M.
I have the following doubts regarding two ports used for LWM2M
server.
Does initial registration from server to client take place
through port 5683.(coap://leshan.eclipse.org:5683
)
If so, is the communication secure?
What is use of coaps://leshan.eclipse.org:5684?
and what messages are exchanged between server and client
through this port?
Can the server bind to two ports 5683 and 5684 with a single IP
address?