ESP8266MQTTClient
ESP8266MQTTClient copied to clipboard
Arduino IDE 1.8.12 Esp8266 Framework 2.7.0 ESP8266MQTTClient 1.0.5 Run Sample MQTTClient.ino ``` #include #include MQTTClient mqtt; void setup() { Serial.begin(115200); // WiFi.begin("ssid", "pass"); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print(".");...
Hi, I test the code "MQTTOverWebsocketClient" and **this works fine on ports 8080 and 8090** of "test.mosquitto.org" (**without encryption**) But **I need to use MQTT over Websockets with TLS and...
hello i have used this libray but the esp8266 go to crash. can I help me please? this is the code `#include #include MQTTClient mqtt; String fingerprint = "finger print...
This PR reworks the websocket read logic to read exactly one websocket frame from the tcp buffer for each loop iteration. This is done by first peeking at the tcp...
Fixing #25 - I assume this is not done by intention.
It seems that the `_isSecure` member does exist in the base class as well as the derived `MQTTWSTraits` this leads to inconsistencies. I assume this is not by intention?
Fixes #22 cpp is not my native language - might be there is a better way to solve this?
In `bool MQTTClient::begin(String uri, LwtOptions lwt, int keepalive, bool clean_session)` the `puri->path` is added to the existing `_path`, this leads to paths that start with at `//` eg `//mqtt`.
Http header names are not case sensitive, `bool MQTTWSTraits::connect(WiFiClient* clientIn, const char* host, int port, const char *path)` does a case sensitive coparison of the headers (`temp.startsWith("upgrade: websocket")`. If a...