From 874cba11166db119b3ca3393d58e8e735445aec1 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 12 Apr 2018 21:14:23 -0700 Subject: Mobile: add Mares BLE dive computers Technically, these aren't BLE, these are just the three devices that are supported by the Mares Bluelink Pro Bluetooth download dongle. While we are at it, admit that this code is no longer automatically created but instead maintained by hand. Signed-off-by: Dirk Hohndel --- core/downloadfromdcthread.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core') diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp index ea803e20b..b3bf8ba28 100644 --- a/core/downloadfromdcthread.cpp +++ b/core/downloadfromdcthread.cpp @@ -62,9 +62,6 @@ void DownloadThread::run() static void fill_supported_mobile_list() { - // This segment of the source is automatically generated - // please edit scripts/dcTransport.pl , regenerated the code and copy it here - #if defined(Q_OS_ANDROID) /* BT, BLE and FTDI devices */ mobileProductList["Aeris"] = @@ -81,6 +78,8 @@ static void fill_supported_mobile_list() QStringList({{"Frog"}, {"OSTC"}, {"OSTC 2"}, {"OSTC 2C"}, {"OSTC 2N"}, {"OSTC 3"}, {"OSTC 3+"}, {"OSTC 4"}, {"OSTC Mk2"}, {"OSTC Plus"}, {"OSTC Sport"}, {"OSTC cR"}, {"OSTC 2 TR"}}); mobileProductList["Hollis"] = QStringList({{"DG02"}, {"DG03"}, {"TX1"}}); + mobileProductList["Mares"] = + QStringList({{"Puck Pro"}, {"Smart"}, {"Quad"}}); mobileProductList["Oceanic"] = QStringList({{"Atom 1.0"}, {"Atom 2.0"}, {"Atom 3.0"}, {"Atom 3.1"}, {"Datamask"}, {"F10"}, {"F11"}, {"Geo"}, {"Geo 2.0"}, {"OC1"}, {"OCS"}, {"OCi"}, {"Pro Plus 2"}, {"Pro Plus 2.1"}, {"Pro Plus 3"}, {"VT 4.1"}, {"VT Pro"}, {"VT3"}, {"VT4"}, {"VTX"}, {"Veo 1.0"}, {"Veo 180"}, {"Veo 2.0"}, {"Veo 200"}, {"Veo 250"}, {"Veo 3.0"}, {"Versa Pro"}}); mobileProductList["Scubapro"] = @@ -107,6 +106,8 @@ static void fill_supported_mobile_list() /* BLE only, Qt does not support classic BT on iOS */ mobileProductList["Heinrichs Weikamp"] = QStringList({{"OSTC 2"}, {"OSTC 3"}, {"OSTC 3+"}, {"OSTC 4"}, {"OSTC Plus"}, {"OSTC Sport"}, {"OSTC 2 TR"}}); + mobileProductList["Mares"] = + QStringList({{"Puck Pro"}, {"Smart"}, {"Quad"}}); mobileProductList["Scubapro"] = QStringList({{"Aladin Sport Matrix"}, {"Aladin Square"}, {"G2"}}); mobileProductList["Shearwater"] = @@ -115,7 +116,6 @@ static void fill_supported_mobile_list() QStringList({{"EON Core"}, {"EON Steel"}}); #endif - // end of the automatically generated code } void fill_computer_list() -- cgit v1.2.3-70-g09d2