petereb / coap-node Goto Github PK
View Code? Open in Web Editor NEWClient node of lightweight M2M (LWM2M).
License: Other
Client node of lightweight M2M (LWM2M).
License: Other
Should support DTLS.
Hi Peter,
I've just started to play with your coap-node against leshan server.
It worked well. Thanks. Appreciated.
One thing,
It seems that this coap-node lwm2m client doesn't support Bootstrap(?)
I'm considering some mass registration measurement(scalability), which requires BSS too,
at least for our experiment.
Do you have any plan to support BootStrap in your coap-node(lwm2m client)?
If not, how much effort do you expect to implement Bootstrap only in lwm2m client,
assuming that, leshan(+bootstrap) server is used in this case.
Any info would be really appreciated.
Should test IPv6.
Hello,
I am using coap-node to emulate a lwm2m client.
I noticed that when observe events are received by the COAP stack, they are not forwarded to my application (see extract below)
Anything wrong with what I am doing ?
Thanks for helping
coapnode.register(Lwm2m_Host,Lwm2m_Port,function(err,rsp) {
if (rsp.status == '2.01') {
nb_registered++;
Devices[d_index].registered=1;
coapNode[d_index]=coapnode;
d_index++;
if (d_index <= last_index) {
setTimeout(next_reg,Reg_Timer_ms,d_index);
}
}
});
coapnode.on('registered',function() {
if (verbose==1)
console.log("Registration of "+Devices[d_index].Name+" done");
});
coapnode.on('observe',((mydev_index) => {return(req) => {
console.log("Observe for "+Devices[mydev_index].Name+" received: ",req);
Devices[mydev_index].observed=1;
nb_observed++;
};})(d_index));
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.