Skip to content

Commit ddbc8b5

Browse files
jefdriesenmikeller
authored andcommitted
Add support for the Puck Lite
The Puck Lite re-uses the same model number as the Puck 4. Only the bluetooth device name appears to be different.
1 parent e29f5d9 commit ddbc8b5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/descriptor.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ static const dc_descriptor_t g_descriptors[] = {
324324
{"Mares", "Sirius", DC_FAMILY_MARES_ICONHD , 0x2F, DC_TRANSPORT_BLE, dc_filter_mares},
325325
{"Mares", "Quad Ci", DC_FAMILY_MARES_ICONHD , 0x31, DC_TRANSPORT_BLE, dc_filter_mares},
326326
{"Mares", "Puck 4", DC_FAMILY_MARES_ICONHD , 0x35, DC_TRANSPORT_BLE, dc_filter_mares},
327+
{"Mares", "Puck Lite", DC_FAMILY_MARES_ICONHD , 0x35, DC_TRANSPORT_BLE, dc_filter_mares},
327328
/* Heinrichs Weikamp */
328329
{"Heinrichs Weikamp", "OSTC", DC_FAMILY_HW_OSTC, 0, DC_TRANSPORT_SERIAL, NULL},
329330
{"Heinrichs Weikamp", "OSTC Mk2", DC_FAMILY_HW_OSTC, 1, DC_TRANSPORT_SERIAL, NULL},
@@ -760,6 +761,7 @@ dc_filter_mares (const dc_descriptor_t *descriptor, dc_transport_t transport, co
760761
"Sirius",
761762
"Quad Ci",
762763
"Puck4",
764+
"Puck Lite",
763765
};
764766

765767
if (transport == DC_TRANSPORT_BLE) {

src/mares_iconhd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ mares_iconhd_get_model (mares_iconhd_device_t *device)
196196
{"Sirius", SIRIUS},
197197
{"Quad Ci", QUADCI},
198198
{"Puck4", PUCK4},
199+
{"Puck Lite", PUCK4},
199200
};
200201

201202
// Check the product name in the version packet against the list

0 commit comments

Comments
 (0)