Add support for the Crest CR-4
The Crest CR-4 is compatible with the Deep Six Excursion.
This commit is contained in:
parent
b2040d9adb
commit
af03e39383
@ -425,6 +425,7 @@ static const dc_descriptor_t g_descriptors[] = {
|
|||||||
{"Sporasub", "SP2", DC_FAMILY_SPORASUB_SP2, 0, DC_TRANSPORT_SERIAL, NULL},
|
{"Sporasub", "SP2", DC_FAMILY_SPORASUB_SP2, 0, DC_TRANSPORT_SERIAL, NULL},
|
||||||
/* Deep Six Excursion */
|
/* Deep Six Excursion */
|
||||||
{"Deep Six", "Excursion", DC_FAMILY_DEEPSIX_EXCURSION, 0, DC_TRANSPORT_BLE, dc_filter_deepsix},
|
{"Deep Six", "Excursion", DC_FAMILY_DEEPSIX_EXCURSION, 0, DC_TRANSPORT_BLE, dc_filter_deepsix},
|
||||||
|
{"Crest", "CR-4", DC_FAMILY_DEEPSIX_EXCURSION, 0, DC_TRANSPORT_BLE, dc_filter_deepsix},
|
||||||
};
|
};
|
||||||
|
|
||||||
static int
|
static int
|
||||||
@ -728,6 +729,7 @@ static int dc_filter_deepsix (dc_transport_t transport, const void *userdata, vo
|
|||||||
{
|
{
|
||||||
static const char * const bluetooth[] = {
|
static const char * const bluetooth[] = {
|
||||||
"EXCURSION",
|
"EXCURSION",
|
||||||
|
"Crest-CR4",
|
||||||
};
|
};
|
||||||
|
|
||||||
if (transport == DC_TRANSPORT_BLE) {
|
if (transport == DC_TRANSPORT_BLE) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user