Giter Site home page Giter Site logo

Comments (3)

adamvr avatar adamvr commented on May 10, 2024

Since this library is so low level, I've left this kind of plumbing in the hands of users (cf. mqtt-growl). It's super boilerplatey if you want to use the library for standard stuff though, you have to handle pingreq/resps, qos, and connection/connacks manually, so I'm currently hacking on a higher level api for it. Check back soon!

from mqtt.js.

adamvr avatar adamvr commented on May 10, 2024

It might also be worth noting that some brokers (I'm thinking of mosquitto in particular) add a grace period on top of the keepalive before the broker cuts the connection. This is why you might see in some places pingreq periods equal to the keepalive.

from mqtt.js.

mcollina avatar mcollina commented on May 10, 2024

I know I need to implement it on top of that, but it might be tricky for beginners.
An high level API will be awesome.

from mqtt.js.

Related Issues (20)

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.