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:
Mark Liversedge
2013-01-29 20:28:43 +00:00
parent 102fb30eae
commit d0e96dcd47
13 changed files with 532 additions and 17 deletions

View File

@@ -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 "