mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 17:09:56 +00:00
BT40 Skeleton code
To enable support of BTLE (BT 4.0 'smart') devices as well as the Kickr. Very basic skeleton code to get started. Will need to; - add a BTLE 'pair' in AddDeviceWizard - use profile not portspec for the uuids - filter out RFLKT and KICKR as they have their own device types - fixup BT40.cpp which is KICKR code in this commit
This commit is contained in:
@@ -38,6 +38,14 @@ static DeviceType SupportedDevices[] =
|
||||
"ANT+ devices such as SRM, Powertap or Quarq power meters, Heart rate belts, "
|
||||
"speed or cadence meters via a Garmin ANT+ USB1 or USB2 stick" ,
|
||||
":images/devices/garminusb.png" },
|
||||
#endif
|
||||
#ifdef GC_HAVE_WFAPI
|
||||
{ DEV_BT40, DEV_BTLE, (char *) "Bluetooth 4.0", true, false,
|
||||
"Bluetooth Low Energy devices such as KK Inride, Stages PM, Blue HR and Blue SC",
|
||||
":images/devices/btle.png" },
|
||||
{ DEV_KICKR, DEV_BTLE, (char *) "Wahoo Kickr", true, false,
|
||||
"The Wahoo Fitness Kickr cyling trainer via its Bluetooth smart interface. ",
|
||||
":images/devices/kickr.png" },
|
||||
#endif
|
||||
{ DEV_CT, DEV_SERIAL, (char *) "Racermate Computrainer",true, false,
|
||||
"Racermate Computrainer Lab or Pro bike trainer with the handlebar controller "
|
||||
@@ -49,11 +57,6 @@ static DeviceType SupportedDevices[] =
|
||||
"to a USB port. Please make sure you have device firmware to hand." ,
|
||||
":images/devices/fortius.png" },
|
||||
#endif
|
||||
#ifdef GC_HAVE_WFAPI
|
||||
{ DEV_KICKR, DEV_BTLE, (char *) "Wahoo Kickr", true, false,
|
||||
"The Wahoo Fitness Kickr cyling trainer via its Bluetooth smart interface. ",
|
||||
":images/devices/kickr.png" },
|
||||
#endif
|
||||
#ifdef GC_WANT_ROBOT
|
||||
{ DEV_NULL, DEV_TCP, (char *) "Robot", false, false,
|
||||
"Testing device used for development only. If an ERG file is selected it will "
|
||||
|
||||
Reference in New Issue
Block a user