summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2018-09-26 11:23:57 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-26 12:13:20 -0700
commit890d4c3d649dd55817d4bb85d62ad433a61cebe4 (patch)
treeb67cab20df81c1b4b0a4fa7b670f5c1bec49123f /mobile-widgets
parent8426024b76ebc6e3aa3def24aa077a5b7442347c (diff)
downloadsubsurface-890d4c3d649dd55817d4bb85d62ad433a61cebe4.tar.gz
qt-ble: allow reading of partial packet data
The existing BLE dive computers treat BLE as the packetized protocol it is, and read whole packets at a time. However, the Mares BlueLink backend treats it as just a basic "serial over BLE" transport, and for historical reasons reads the reply packets in smaller chunks. This allows that kind of IO behavior, where if the divecomputer backend reads just a part of a packet, we'll split the packet, return the part the user asked for, and push back the leftover packet onto the received packet queue. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mobile-widgets')
0 files changed, 0 insertions, 0 deletions