Open maxleiko opened 9 years ago
Another one but at a first look simpler:
This is just the definition of a CoapMessage and a deserializer and a serializer. Nothing shows how to send/receive messages using the procotol. But looking at the sources, it looks like it's wrapping a CoAP message into a WebSocket message so that it can be transfered over WS. Problem is that it would need some unwrapping at the end.
Hello!
Maybe this could be helpful: https://github.com/mcollina/node-coap
As I can understand, we need only https://github.com/mcollina/node-coap#request to get the model and put a new model. The address should be in ipv6