File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -1211,7 +1211,7 @@ void provisioningSetState(uint8_t newState)
1211
1211
}
1212
1212
1213
1213
unsigned long provisioningStartTime;
1214
- const unsigned long provisioningTimeout = 20000 ;
1214
+ const unsigned long provisioningTimeout = 120000 ;
1215
1215
1216
1216
void updateProvisioning ()
1217
1217
{
@@ -1402,6 +1402,14 @@ void updateProvisioning()
1402
1402
httpClientModeNeeded = false ; // Tell HTTP_Client to give up. (But it probably already has...)
1403
1403
displayAlreadyRegistered (5000 );
1404
1404
1405
+ provisioningSetState (PROVISIONING_KEYS_REMAINING);
1406
+ }
1407
+ else if (ztpResponse == ZTP_UNKNOWN_ERROR)
1408
+ {
1409
+ systemPrintln (" updateProvisioning: ZTP_UNKNOWN_ERROR" );
1410
+
1411
+ httpClientModeNeeded = false ; // Tell HTTP_Client to give up. (But it probably already has...)
1412
+
1405
1413
provisioningSetState (PROVISIONING_KEYS_REMAINING);
1406
1414
}
1407
1415
}
You can’t perform that action at this time.
0 commit comments