You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
). I think maybe it should be in a larger scope, so that when loop() exits and restarts the pointers are still good. When I changed this in my larger programs, it seemed to instantly start to work reliably.
It might even be a cause of some of the issues like #183.
The text was updated successfully, but these errors were encountered:
Aformentioned issue is fixed in the linked Pull Request and has been fixed already because of #159.
For now your fix with putting it into global scope will fix the issue. Once the PR has been merged it can be done like in the examples again. Sorry for any inconviences caused.
Hiya folks!
The OTA examples seem to work fine for me, but when adapting them to larger programs, I kept having a series of issues.
I found that the
const OTA_Update_Callback callback
was being declared inloop()
(thingsboard-client-sdk/examples/0011-esp8266_esp32_subscribe_OTA_MQTT/0011-esp8266_esp32_subscribe_OTA_MQTT.ino
Line 338 in 22265f5
It might even be a cause of some of the issues like #183.
The text was updated successfully, but these errors were encountered: