How exactly should I discover all nodes that do something useful in my network?
Most CoAP documentation I've seen talks about protocol when connection is already established, but how to know where the endpoints are?
I found OIC specification which says that discovery packets should be sent over IPv6 to multicast FF0X:0:0:0:0:0:0:158
(All OCF Nodes) port 5683 (UDP?). The packet should be "GET /oic/res" senddiscovery
request. What is that senddiscovery
?
The OIC spec also says CBOR encoding should be used for response, but doesn't describe what is the meaning of the returned data.