Native ANT+ Support (1 of 3)

First stage of development, folding together the
quarqd sources and creating an ANT+ worker and controller
to work with realtime window.

The basic code is folded together and compiles fine. The next
step is to address the channel management code, device discovery
channel assignment and channel event handling. This will be pushed
as part of the next commit.

The third commit will need to fixup the configuration pages to
support selection of device/baudrate, fix native discovery/pairing
in config and lastly, fix a long standing issue with the config pane
to allow editing of existing device configurations.

This is NOT a functional patch yet, but compiles and runs fine. Committed
as a checkpoint before refactoring quarqd supplied code.
This commit is contained in:
Mark Liversedge
2011-02-06 17:54:50 +00:00
parent 8af6973c24
commit 8dc32c001f
11 changed files with 5105 additions and 10 deletions

View File

@@ -29,7 +29,8 @@
static DeviceType SupportedDevices[] =
{
{ DEV_CT, DEV_SERIAL, (char *) "Computrainer", true, false },
{ DEV_ANTPLUS, DEV_ANT, (char *) "ANT+ via Quarqd", true, false },
{ DEV_ANTPLUS, DEV_QUARQ, (char *) "ANT+ via Quarqd", true, false },
{ DEV_ANTLOCAL, DEV_SERIAL, (char *) "Native ANT+", true, false },
{ DEV_GSERVER, DEV_TCP, (char *) "Golden Cheetah Server", false, false },
{ DEV_NULL, DEV_TCP, (char *) "Null device (testing)", false, false },
// { DEV_PT, DEV_SERIAL, (char *) "Powertap Head Unit", false, true },