From 43352905e762927e4d4f93cba505da21e12b7061 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Sun, 30 Aug 2026 20:22:39 +1200 Subject: [PATCH 1/2] Shearwater: Map Perdix 3 hardware identifiers Map hardware identifiers 0x39C2 and 0x4AB1 to the existing PERDIX3 model so downloads report the correct device. Existing descriptor and protocol handling already support the model. Signed-off-by: Michael Keller --- src/shearwater_common.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/shearwater_common.c b/src/shearwater_common.c index 0777ea75..b3a0835d 100644 --- a/src/shearwater_common.c +++ b/src/shearwater_common.c @@ -826,6 +826,10 @@ dc_status_t shearwater_common_get_model(shearwater_common_device_t *device, unsi case 0xC964: *model = PERDIX2; break; + case 0x39C2: + case 0x4AB1: + *model = PERDIX3; + break; case 0x1F0A: case 0x0F0F: case 0x1F10: @@ -863,4 +867,3 @@ dc_status_t shearwater_common_get_model(shearwater_common_device_t *device, unsi return status; } - From b0ab7b4052ae305cf09c2955c515300027352c86 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Sun, 30 Aug 2026 20:39:23 +1200 Subject: [PATCH 2/2] Shearwater: Add missing Petrel 3 and Teric hardware IDs Map the identified Petrel 3 and Teric hardware values to their existing model constants. Descriptor, transport, parser, and model-number behaviour remains unchanged. Signed-off-by: Michael Keller --- src/shearwater_common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/shearwater_common.c b/src/shearwater_common.c index b3a0835d..22ae3ca6 100644 --- a/src/shearwater_common.c +++ b/src/shearwater_common.c @@ -799,6 +799,8 @@ dc_status_t shearwater_common_get_model(shearwater_common_device_t *device, unsi break; case 0xB407: case 0xB429: + case 0xB469: + case 0x3C3D: *model = PETREL3; break; case 0x0606: @@ -831,6 +833,7 @@ dc_status_t shearwater_common_get_model(shearwater_common_device_t *device, unsi *model = PERDIX3; break; case 0x1F0A: + case 0x1F0F: case 0x0F0F: case 0x1F10: case 0x1F1A: @@ -866,4 +869,3 @@ dc_status_t shearwater_common_get_model(shearwater_common_device_t *device, unsi return status; } -