Coder Social home page Coder Social logo

Comments (3)

ameykshirsagar avatar ameykshirsagar commented on August 22, 2024

@CheyenneForbes : Because this project is just the wrapper to the native library. So unless the native library supports connection by mqtt:// or mqtts:// the JS part won't allow the connection to be established.

from cordova-plugin-mqtt.

signalpoint avatar signalpoint commented on August 22, 2024

Because this project is just the wrapper to the native library.

@ameykshirsagar Would you please provide a URL to the library you are referring to? I'm curious to monitor progress for mqtt:// and mqtts:// support.

from cordova-plugin-mqtt.

ameykshirsagar avatar ameykshirsagar commented on August 22, 2024

@CheyenneForbes @signalpoint
The thing is mqtt:// & mqtts:// are nothing but tcp:// & tls:// protocols underneath. For representation purposes we use the URL starting with mqtt:// & mqtts:// when we are doing a MQTT connection instead of a standard TCP Socket connection (even in fact MQTT is a socket connection). But under the hood mqtt:// & mqtts:// are replaced by tcp:// & tls:// as mqtt:// & mqtts:// are not standard protocols recognised on transport layer as per the standards.

Here is the proof of it where the nodejs based MQTT client uses tcp for mqtt://

@signalpoint : This is the library thats being used in this plugin

from cordova-plugin-mqtt.

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.