Skip to content

Commit 4a3ff5e

Browse files
committed
Increase timeout values for HTTPS-GET data download to flash.
1 parent 6672d0e commit 4a3ff5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AIoTC_Config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
#define AIOT_CONFIG_TIMEOUT_FOR_LASTVALUES_SYNC_ms (30000UL)
146146
#define AIOT_CONFIG_LASTVALUES_SYNC_MAX_RETRY_CNT (10UL)
147147

148-
#define AIOT_CONFIG_RP2040_OTA_HTTP_HEADER_RECEIVE_TIMEOUT_ms (10000UL)
149-
#define AIOT_CONFIG_RP2040_OTA_HTTP_DATA_RECEIVE_TIMEOUT_ms (60000UL)
148+
#define AIOT_CONFIG_RP2040_OTA_HTTP_HEADER_RECEIVE_TIMEOUT_ms (10*1000UL)
149+
#define AIOT_CONFIG_RP2040_OTA_HTTP_DATA_RECEIVE_TIMEOUT_ms (4*60*1000UL)
150150

151151
#endif /* ARDUINO_AIOTC_CONFIG_H_ */

0 commit comments

Comments
 (0)