pubsubclient
pubsubclient copied to clipboard
A client library for the ESP8266 that provides support for MQTT
i used this library in my two Node mcu's. Both Node mcu subscribes to the same topic.But when i publish a message to that topic, only one Node mcu can...
this commit fixes #64 OTA over MQTT Remove `pub.payload_stream()->stop();` Do NOT stop the client connection because the (WiFi) `Client` hold in class `Publish` is NOT ref counted. It is only...
- use strncpy_P for flash memory access - add enum for QOS
Hi I am trying execute the folloring code with arduino zero and I see the publish being failed. if(client.publish(MQTT::Publish(topic,payload) .set_qos(0))) SerialUSB.println("publish ok"); else SerialUSB.println("publish failed"); The size of my payload...
Hi, I successfully setup pubsubclient to send messages to my remote MQTT broker (RabbitMQ), but when I publish a message it is published multiple times on the broker (RabbitMQ does...
I have following code running on ESP: ``` void loop() { if(millis() - t > 10) { static int i = 0; String topic = "test/" + String(i % 10);...
Oddly, if the Arduino library manager wants to update this library, it installs the original knolleary library rather than this fork. Cant understand why
Hi, I'm new to the use of ESP and MQTT, I'm currently working on a NodeMCU v1.0. I would like to know what is the new limit length for the...
I want to publish a String converted to a char array for publishing but, I'm unable to receive it at the subscriber end! even I checked the logs of the...
use following code: if (pub.has_stream()) { uint8_t buf[BUFFER_SIZE]; int read; ``` while (read = pub.payload_stream()->read(buf, BUFFER_SIZE)) { Serial.write(buf, read); } pub.payload_stream()->stop(); ``` Soft WDT reset ctx: cont sp: 3fff0340 end:...