Skip to content

Commit

Permalink
Add support for the Suunto D5
Browse files Browse the repository at this point in the history
The Suunto D5 is fully compatible with the Eon Steel, except for the
different USB PID.

Reported-By: Nick Shore <support@mac-dive.com>
  • Loading branch information
jefdriesen committed May 27, 2019
1 parent b188c41 commit 0dc1006
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/descriptor.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ static const dc_descriptor_t g_descriptors[] = {
/* Suunto EON Steel */
{"Suunto", "EON Steel", DC_FAMILY_SUUNTO_EONSTEEL, 0, DC_TRANSPORT_USBHID | DC_TRANSPORT_BLE, dc_filter_suunto},
{"Suunto", "EON Core", DC_FAMILY_SUUNTO_EONSTEEL, 1, DC_TRANSPORT_USBHID | DC_TRANSPORT_BLE, dc_filter_suunto},
{"Suunto", "D5", DC_FAMILY_SUUNTO_EONSTEEL, 2, DC_TRANSPORT_USBHID | DC_TRANSPORT_BLE, dc_filter_suunto},
/* Uwatec Aladin */
{"Uwatec", "Aladin Air Twin", DC_FAMILY_UWATEC_ALADIN, 0x1C, DC_TRANSPORT_SERIAL, NULL},
{"Uwatec", "Aladin Sport Plus", DC_FAMILY_UWATEC_ALADIN, 0x3E, DC_TRANSPORT_SERIAL, NULL},
Expand Down Expand Up @@ -447,10 +448,12 @@ static int dc_filter_suunto (dc_transport_t transport, const void *userdata)
static const dc_usb_desc_t usbhid[] = {
{0x1493, 0x0030}, // Eon Steel
{0x1493, 0x0033}, // Eon Core
{0x1493, 0x0035}, // D5
};
static const char *bluetooth[] = {
"EON Steel",
"EON Core",
"Suunto D5",
};

if (transport == DC_TRANSPORT_USBHID) {
Expand Down

0 comments on commit 0dc1006

Please sign in to comment.