diff --git a/src/descriptor.c b/src/descriptor.c index 794b825..f57080d 100644 --- a/src/descriptor.c +++ b/src/descriptor.c @@ -294,6 +294,7 @@ static const dc_descriptor_t g_descriptors[] = { {"Shearwater", "Perdix", DC_FAMILY_SHEARWATER_PETREL, 5, DC_TRANSPORT_SERIAL | DC_TRANSPORT_BLUETOOTH | DC_TRANSPORT_BLE, dc_filter_shearwater}, {"Shearwater", "Perdix AI", DC_FAMILY_SHEARWATER_PETREL, 6, DC_TRANSPORT_BLE, dc_filter_shearwater}, {"Shearwater", "Nerd 2", DC_FAMILY_SHEARWATER_PETREL, 7, DC_TRANSPORT_BLE, dc_filter_shearwater}, + {"Shearwater", "Teric", DC_FAMILY_SHEARWATER_PETREL, 8, DC_TRANSPORT_BLE, dc_filter_shearwater}, /* Dive Rite NiTek Q */ {"Dive Rite", "NiTek Q", DC_FAMILY_DIVERITE_NITEKQ, 0, DC_TRANSPORT_SERIAL, NULL}, /* Citizen Hyper Aqualand */ @@ -444,6 +445,7 @@ static int dc_filter_shearwater (dc_transport_t transport, const void *userdata) "Petrel", "Nerd", "Perdix", + "Teric", }; if (transport == DC_TRANSPORT_BLUETOOTH) { diff --git a/src/shearwater_common.h b/src/shearwater_common.h index 767372f..8798853 100644 --- a/src/shearwater_common.h +++ b/src/shearwater_common.h @@ -40,6 +40,7 @@ extern "C" { #define PERDIX 5 #define PERDIXAI 6 #define NERD2 7 +#define TERIC 8 #define NSTEPS 10000 #define STEP(i,n) ((NSTEPS * (i) + (n) / 2) / (n)) diff --git a/src/shearwater_petrel.c b/src/shearwater_petrel.c index f0eadd0..e6b6a59 100644 --- a/src/shearwater_petrel.c +++ b/src/shearwater_petrel.c @@ -229,6 +229,9 @@ shearwater_petrel_device_foreach (dc_device_t *abstract, dc_dive_callback_t call case 0x0C0D: model = PERDIXAI; break; + case 0x0F0F: + model = TERIC; + break; default: WARNING (abstract->context, "Unknown hardware type %04x.", hardware); }