diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-06 11:23:08 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-08 00:10:29 +0300 |
commit | 9e3a22c5220f72fb9b9358dc127808186d3398dd (patch) | |
tree | e86dc03a7a59bbb852294ffabbccb6999359ccb2 /core/libdivecomputer.h | |
parent | 9dac90c6bfe6e15f054602ada793fc83bdcb5fd8 (diff) | |
download | subsurface-9e3a22c5220f72fb9b9358dc127808186d3398dd.tar.gz |
qt-ble: add 'get_name()' function to expose the BLE name to libdivecomputer
Some divecomputer backends (ok, right now really only the Aqualung i770R
and i300C) want to know the bluetooth name of the dive computer they
connect to, because the name contains identifying information like the
serial number.
This just adds the support for that to our Qt BLE code.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'core/libdivecomputer.h')
-rw-r--r-- | core/libdivecomputer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/libdivecomputer.h b/core/libdivecomputer.h index e1964eb9a..b06b5ae0d 100644 --- a/core/libdivecomputer.h +++ b/core/libdivecomputer.h @@ -30,7 +30,7 @@ typedef struct dc_user_device_t { dc_descriptor_t *descriptor; const char *vendor, *product, *devname; - const char *model; + const char *model, *btname; unsigned char *fingerprint; unsigned int fsize, fdiveid; uint32_t libdc_firmware, libdc_serial; |