mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
9dac90c6bf
commit
9e3a22c522
5 changed files with 11 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue