nRF52840: Flow control XOFF is now sent at only 3/8th full - delays in BLE mean we can sometimes fill our 1k input buffer otherwise

This commit is contained in:
Gordon Williams 2022-01-05 16:14:08 +00:00
parent 5310808580
commit d240a02e0b
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
nRF52840: Flow control XOFF is now sent at only 3/8th full - delays in BLE mean we can sometimes fill our 1k input buffer otherwise
2v11 : Bangle.js: Enable the Bangle.on('tap') event from the accelerometer by default
Bangle.js: revert to (better) Kionix default thresholds for tap detect
Bangle.js 2: When wake on touch is enabled, use a single tap on the front of the device for wakeup

View File

@ -352,7 +352,7 @@ else:
bufferSizeIO = 256
# we often use increased MTUs and even with a big buffer these mean we need to leave
# a lot of space when we send XOFF (due to delay in response from sender)
xoff_thresh = 4
xoff_thresh = 3
xon_thresh = 2
# TX buffer - for print/write/etc
bufferSizeTX = 32