diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-09-22 10:03:42 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-09-22 02:30:58 -0700 |
commit | f442031fdd43c4ffc9cc2c10fe2c8efd604b1a53 (patch) | |
tree | 134604a4604d63f672b22475aa76d0019d5beb1c /packaging/android | |
parent | bb1df1218d83aaa2bcb503e53246e19ab2e29c62 (diff) | |
download | subsurface-f442031fdd43c4ffc9cc2c10fe2c8efd604b1a53.tar.gz |
BLE: big writes to connected DC (OSTC firmware)
Most writes to a connected DC are small, typically some
command bytes to get DC in download mode, or to set
some parameter. All this just worked over BLE,
however, sending a full firmware update (on an
OSTC device) failed, as the underlying BLE interface
can only handle small 20 byte BLE packets at once.
So, send max ble->packet_size chuncks at once.
Tested for the following cases (linux desktop with
OSTC3 over BLE):
1) normal download of dive data.
2) read and write settings from configure UI
3) update firmware (from 2.15 to 2.15)
And to my surprise, no flow control credit administration
is required here.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'packaging/android')
0 files changed, 0 insertions, 0 deletions