CoAP - Node.js practice
# Save dependencies
npm install coap --save
# Without
npm install coap
Basic practice of simple coap node api
Practice of observation mode
The experiment based on CoAP observation mode to retrieve data : os information and network connection. The architecture is a CoAP client and multiple server-node ( sensing device ).
- External installation
npm install socket.io --save
- Execute
# on devices
node server_node.js
# pre-config IP address
# on http server
node observ_client.js