-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to update without restarting the device #170
Comments
Which example did you use, because the folder contains two OTA examples with different behaviour for the ESP32 on Arduino.
So from what you wrote I think you need to have a look at the latter of the two examples. Additionally the final restart at the end of the update is non optional and has to be done always, to actually switch the current loaded firmware. |
I am using the Process_OTA_MQTT method, where in the description it is commented that it is "immediate", however subscribe_OTA_MQTT, it is specified that it is "Not immediate". |
I think there is a misunderstanding. The This is not the case with the The most common use case is calling
In the examples it should, if the example is used it calls
If you are using the ...
if (!updateRequestSent) {
...
tb.Start_Firmware_Update(callback);
updateRequestSent = false;
}
... This is not recommended however. If you want to update once the firmware has been assigned in the cloud the |
Device used: Esp32
IDE: Arduino IDE
Description: I can only run the OTA update when restarting the device. How can I check ThingsBoard if there is a new update and, if so, update without having to restart the device?
Thanks.
The text was updated successfully, but these errors were encountered: