We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6580a89 commit 293f741Copy full SHA for 293f741
src/ArduinoIoTCloudTCP.cpp
@@ -307,6 +307,10 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_Connected()
307
*/
308
if (_ota_req)
309
{
310
+ /* Clear the error flag. */
311
+ _ota_error = static_cast<int>(OTAError::None);
312
+ /* Transmit the cleared error flag to the cloud. */
313
+ sendPropertiesToCloud();
314
/* Clear the request flag. */
315
_ota_req = false;
316
/* Call member function to handle OTA request. */
0 commit comments