File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ ChangeLog:
94
94
1.14: Ignore 'backspace' character when searching for newlines
95
95
Remove fs/noACK from espruinoSendFile if not needed
96
96
Longer log messages
97
+ Increase default delay to 450ms (to cope with devices in low speed 200ms connection interval mode reliably)
97
98
1.13: Ensure UART.eval waits for a newline for the result like the Puck.js lib (rather than just returning whatever there was)
98
99
1.12: Handle cases where platform doesn't support connection type better (reject with error message)
99
100
1.11: espruinoSendPacket now has a timeout (never timed out before)
@@ -1228,7 +1229,7 @@ To do:
1228
1229
/// Baud rate for Web Serial connections (Official Espruino devices use 9600, Espruino-on-ESP32/etc use 115200)
1229
1230
baud : 115200 ,
1230
1231
/// timeout (in ms) in .write when waiting for any data to return
1231
- timeoutNormal : 300 ,
1232
+ timeoutNormal : 450 , // 450ms is enough time that with a slower 200ms connection interval and a delay we should be ok
1232
1233
/// timeout (in ms) in .write/.eval when waiting for a newline
1233
1234
timeoutNewline : 10000 ,
1234
1235
/// timeout (in ms) to wait at most
You can’t perform that action at this time.
0 commit comments