Comments (4)
The library is currently enforcing MQTT 3.1.1 as it supports only that version.
However you can set the underyling Paho client to the 3.1 version in the connect method.
Add the following on this line: https://github.com/256dpi/arduino-mqtt/blob/master/src/MQTTClient.cpp#L70.
this->options.MQTTVersion = 3;
Note: I haven't tested that. ;)
from arduino-mqtt.
The patch is working
I suggest to add your note on the manual of the library
Thank You
from arduino-mqtt.
I have written an article about my test with your library and the ESP8266 uMQTT Broker :
http://wp.me/p4ZDu-3s
from arduino-mqtt.
Cool, thanks! I'm closing this now.
from arduino-mqtt.
Related Issues (20)
- Unable to connect with Platform I/O [email protected] (Arduino Core v3.1) HOT 3
- Cant connect to broker when using esp8266 version 3.1.1 HOT 9
- publish --> Mark as Duplicate HOT 10
- Session Store HOT 1
- Can't get connect with AWS IoT Core HOT 2
- JWT as password HOT 1
- Mqtt bufferSize value cannot exceed 1024 * 43 otherwise with error "Guru Meditation Error" HOT 1
- Possibility to serialize messages directly to server? HOT 1
- Issue with latest lwmqtt and the separation of the header and the payload HOT 4
- MQTT reconnection when not disconnected. ESP8266 HOT 6
- Unreliable behaviour with reconnections HOT 3
- MQTT HOT 1
- Websockets support HOT 3
- MQTT SSL connection issue with QoS1 and QoS2 messages HOT 1
- DCU: cannot connect to local MQTT broker HOT 1
- This library uses some posix functions that are not provided for Uno R4 HOT 3
- Subscribe query HOT 1
- Release version `v2.5.1` different of master version HOT 1
- 0
- Error connect MQTT SSL/TLS with module CBU use platform libretiny
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-mqtt.