mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add Cressi BLE name filtering for bluetooth discovery
.. and update the libdivecomputer submodule to have them marked as BLE capable. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
66a2b2e133
commit
6df46a25a3
2 changed files with 11 additions and 1 deletions
|
@ -82,6 +82,16 @@ static dc_descriptor_t *getDeviceType(QString btName)
|
|||
product = "Genius";
|
||||
}
|
||||
|
||||
if (btName.startsWith("CARTESIO_")) {
|
||||
vendor = "Cressi";
|
||||
product = "Cartesio";
|
||||
}
|
||||
|
||||
if (btName.startsWith("GOA_")) {
|
||||
vendor = "Cressi";
|
||||
product = "Goa";
|
||||
}
|
||||
|
||||
// The Pelagic dive computers (generally branded as Oceanic or Aqualung)
|
||||
// show up with a two-byte model code followed by six bytes of serial
|
||||
// number. The model code matches the hex model (so "FQ" is 0x4651,
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit ebbb91142781ce5bcfc055f5b9439835c4c9d947
|
||||
Subproject commit 4e809aefd89e67da14d55c8587f1ba001486af2a
|
Loading…
Add table
Reference in a new issue