Code Monkey home page Code Monkey logo

coap-node's People

Contributors

akashgoswami avatar petereb avatar simenkid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

coap-node's Issues

Any lwm2m Bootstrap support yet?

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.

No observe event

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));

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.