fixed mesh OTA process

This commit is contained in:
2021-01-20 11:20:35 +01:00
parent 57c71c401c
commit f74985da4c
2 changed files with 42 additions and 19 deletions

View File

@ -23,6 +23,7 @@
#define OTA_HTTPS_SEGMENT_SIZE 2048U
#define OTA_PROGRESS_LOG_INTERVAL 7U
#define OTA_MESH_SEGMENT_SIZE MESH_NETWORK_PAYLOAD_SIZE
#define OTA_MESH_TIMEOUT 400U //in ms
#define ERROR_CHECK(x) if (err == ESP_OK) \
{ \