bertmelis / espMqttClient

MQTT 3.1.1 client library for the Espressif devices ESP8266 and ESP32 on the Arduino framework.
https://www.emelis.net/espMqttClient/
MIT License
100 stars 21 forks source link

[BUG] #99

Closed fabltd closed 1 year ago

fabltd commented 1 year ago

ESP32

When publishing. I am seeing the published message printed in the console. How to disable this?

bertmelis commented 1 year ago

Please provide a code snippet.

But even then, there is no such code in this library. Even de debug statements don't print the message to uart.

fabltd commented 1 year ago

Hi

I found a debug statement in my own code and fixed that. I have a different issue now.

I use this lib to indicate state.

https://github.com/jandelgado/jled/tree/master#blinking-example

It works without your MQTT lib but with it this does not work. Is there some kind of timing conflict?

By the way this is the only MQTT lib I have found that is reliable and seems to be active. Nice work

bertmelis commented 1 year ago

Are you using the latest release or are you using latest git version?

I suspect some timing issues as I also had some troubles getting task priorities and timings right on one of my personal projects. The latest git version should improve this.

PS If you could share some code? It would help a lot. Please be concise though.

bertmelis commented 1 year ago

Any news? Did you manage to solve your issues?

fabltd commented 1 year ago

Thanks for reaching out. I updated to the latest version. I then switched to the esp32 tick libiary and now its working. I am sure its a timing issue but didn't have enough time to keep trying.

bertmelis commented 1 year ago

Closing because it seems to be solved.

Feel free to reopen if not.