ESP8266MQTTClient
ESP8266MQTTClient copied to clipboard
It could be great to change the "connected()" member to public. Currently, I have to save the state of the client using the connected and disconnected callbacks.
In example: https://github.com/tuanpmt/ESP8266MQTTClient/blob/master/examples/MQTTClient/MQTTClient.ino#L32 The last will message is set up without referring to the keepalive argument as specified in: https://github.com/tuanpmt/ESP8266MQTTClient/blob/master/src/ESP8266MQTTClient.cpp#L72 The example should probably be changed to include the keepalive...
Just tried a very simple ESP8266 sketch, subscribing to "#", and using MQTT.fx to publish topic "Hello", with an empty payload. It reliably crashes out just after the LOG statement...
Because a new release has not been published, installing this library via the Arduino IDE results in the WDT reset error as described in #6.
Hi, I see in ESP8266MQTTClient.cpp the following memory allocations for in and out buffers: _state.in_buffer = (uint8_t *)malloc(DEFAULT_MQTT_BUFFER_SIZE_BYTES); if(_state.in_buffer == NULL) { LOG("Not enought memory\r\n"); return false; } _state.in_buffer_length =...
Hi, I see there's no option for sending a disconnect packet to broker. This can be useful for sharing same broker connections among clients. My 2 cents: In ESP8266MQTTClient.cpp add:...
Im look for a solution that makes mqtt comunnication over secure websocket and I wonder if this library covers this area. Thanks a lot for you work.
Hello, I was trying to test your library and got a compilation error. I tested with your 'MQTTSecureClient.ino' example. Full Error Log: [ESP8266MQTTClient error log.txt](https://github.com/tuanpmt/ESP8266MQTTClient/files/1286184/ESP8266MQTTClient.error.log.txt) And I tried compiling only...
Hi, I am appreciate your Project ,so I want do some contribution, to feedback some question I meet. I git clone this project to control my ESP8266 board, if only...
Two Bug Fixes: missing check for disconnected_cb on NULL and missing bracket after if condition See Issue: User exception (panic/abort/assert) #20