Skip to content

Commit a51b09e

Browse files
committed
Due to slowness of external storage for MGRGSM OTA storage the timeout needs to be set to 250 ms between 2 consecutive MQTT chunks
1 parent c226aff commit a51b09e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extras/tools/bin2json.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import base64
66

77
CHUNK_SIZE = 256 # This is the chunk size of how the binary is split on the server side for not overloading the embedded device receive buffers.
8-
INTER_CHUNK_DELAY_MS = 100 # This is delay between 2 consecutive chunks so as to not over load the embedded device.
8+
INTER_CHUNK_DELAY_MS = 250 # This is delay between 2 consecutive chunks so as to not over load the embedded device.
99

1010
if len(sys.argv) != 3:
1111
print ("Usage: bin2json.py sketch-ota.bin sketch-ota.json")

0 commit comments

Comments
 (0)