pubsubclient icon indicating copy to clipboard operation
pubsubclient copied to clipboard

A client library for the Arduino Ethernet Shield that provides support for MQTT.

Results 127 pubsubclient issues
Sort by recently updated
recently updated
newest added

I originally reported this in #751 but, I'm not sure it's the same issue and, it's potentially serious enough to move into its own issue. it might also be related...

.pio\libdeps\nodemcuv2_dev\PubSubClient\src\PubSubClient.cpp: In member function 'boolean PubSubClient::publish_P(const char*, const uint8_t*, unsigned int, boolean)': .pio\libdeps\nodemcuv2_dev\PubSubClient\src\PubSubClient.cpp:523:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 523 | return (rc...

I am puzzled by this issue, I picked up some projects that I used a few years ago, and when I re-compile them and upload to the ESP the watchdog...

Compiling PubSubClient.cpp with compiler warnings gives: ``` /Users/xxx/Documents/Arduino/libraries/PubSubClient/src/PubSubClient.cpp: In member function 'boolean PubSubClient::publish_P(const char*, const uint8_t*, unsigned int, boolean)': /Users/hixxx345gr/Documents/Arduino/libraries/PubSubClient/src/PubSubClient.cpp:523:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return...

I have PubSubClient running fine on an ESP32 which connects without any problems to an MQTT broker in my local network. For my project, I now want to include an...

HI, it would be GREAT if we could have a possibilities to "choose" what we expecting (int, float, bool, string) to get from payload. I made it like this, but...

On the Heltec esp32 WiFi Lora v3 board using wifi on every other loop the state is -3 : MQTT_CONNECTION_LOST Behold the code: ``` void connect() { if (client.connect("ESP32_Client", mqtt_user,...

After fighting with some odd topic-corruption (in a const char* no less) -- I think that the calculation in this line: https://github.com/knolleary/pubsubclient/blob/2d228f2f862a95846c65a8518c79f48dfc8f188c/src/PubSubClient.cpp#L460 the length is a bit overoptimistic; as at...

I tested it on ESP32C3. If I call SPI.beginTransaction() first, connect() will fail to connect. state() returns -4.

Please ignore - works well in another WLAN - so it is a problem of my home WLAN and not of the library ----------------------------------------------------------------------------------------- Hello, I want to connect to...