Topic

FAQ
Login Register
How to stop main loop statements during OTA update?
Jun 13, 2023 13:02

/

A

/A

During the update to OTA, "is_receive_ota_window()" should be true and the main loop statement should not be turned around, but the update test is currently conducted with APP, and "is_receive_ota_window()" continues to be false, causing the main loop statement to fail from time to time.


What command should the APP give to make "is_receive_ota_window()" true? Or how can I make it true?



During the current update to OTA, the main loop statement will continue to function, and sometimes the OTA update will fail.


When I update OTA in APP, should I send a special command? Or is this handled automatically by the API?


1 replies
TL_Soyo Jun 13, 2023 14:23
0
/A

Hi,

  you can use rf_slave_ota_busy to check the ota status,is_receive_ota_window() is used for chip 826x,have you tested the non modified SDK project OTA,does that will faill?