smarta1980

Results 16 comments of smarta1980

> give a try > [#23 (comment)](https://github.com/marvinroger/async-mqtt-client/issues/23#issuecomment-305274025) I tested it, it is same issue take few minutes to reconnect to mqtt when internet lost then internet back Note: Issue of...

I see another issue I publish message from pc as tester but when receive it from esp8266 then it show as tester[⸮⸮⸮Q⸮ it must be as tester why get unknown...

I did like this: void onMqttMessage(char* topic, char* payload, AsyncMqttClientMessageProperties properties, size_t len, size_t index, size_t total) { String data = payload; Serial.println("data"); }

it is complicated could you please make an example to test?

it is working as your example, thanks another point how to cover issue of reconnect to mqtt broker while internet cut and return it takes few minutes to reconnect to...

https://github.com/marvinroger/async-mqtt-client/blob/develop/examples/FullyFeatured-ESP8266/FullyFeatured-ESP8266.ino

@Pablo2048 the issue with connect mqtt broker not with wifi let me explain again what tests I do esp8266 connected to wifi of access point then I disconnect internet cable...

@bertmelis I do test example code with HiveMQ broker how to check if TCP connection disconnected?

@Pablo2048 I tested example code https://github.com/marvinroger/async-mqtt-client/blob/develop/examples/FullyFeatured-ESP8266/FullyFeatured-ESP8266.ino with HiveMQ Broker broker.hivemq.com:1883

@Pablo2048 13:45:54.088 -> ⸮ ⸮|v`llE⸮D>⸮$⸮⸮ 13:45:54.181 -> 13:45:54.181 -> Connecting to Wi-Fi... 13:45:55.490 -> Connected to Wi-Fi. 13:45:55.490 -> Connecting to MQTT... 13:45:55.817 -> Connected to MQTT. 13:45:55.817 -> Session...