Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maybe try to add a Coap client #60

Open
maxleiko opened this issue Dec 15, 2014 · 3 comments
Open

Maybe try to add a Coap client #60

maxleiko opened this issue Dec 15, 2014 · 3 comments

Comments

@maxleiko
Copy link
Member

No description provided.

@kYc0o
Copy link

kYc0o commented Dec 15, 2014

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

@kYc0o
Copy link

kYc0o commented Dec 15, 2014

Another one but at a first look simpler:

https://code.google.com/p/jscoap/source/browse/coap.js

@maxleiko
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants