arduino-libraries / ArduinoMqttClient

ArduinoMqttClient Library for Arduino
GNU Lesser General Public License v2.1
186 stars 73 forks source link

Stuck on .poll()? #65

Open dnwk opened 2 years ago

dnwk commented 2 years ago

When running it on Arduino MKR NB1500, it frequently stucked on .poll() and cause Arduino to freeze. I can't get any logs on what's happening. But I suspect maybe the data connection was briefly bad and the process stuck on .poll() based on my LED status. Is there a way to set timeout on poll()?