Mark Liversedge 701eb200ef Native ANT+ Support (2 of 3)
Second stage of development, refactored the quarqd sources and introduced
an ANTChannel and ANTMessage class.

This is a functional patch and should work with known ANT+ devices, but
has only been tested with a Garmin HR strap, GSC-10 dual speed/cadence
and SRM wireless cranks. It has only been tested with a first generation
Garmin ANT+ USB stick.

It *should* work with other devices (e.g. Powertap, Quarq) but this has
not been tested.

The configuration pane has not been fixed yet, so you can either add a
Native ANT+ device and leave the profile blank (it will autodiscover
whatever it can when you run) or you can copy the profile from a Quarqd
device and use that.

There are lots of bugs;
* Calibration is not supported, uses a static srm_offset
* Wheel circumference is fixed at 2100mm for speed calculations
* Timeouts are hit and miss and need to be completed
* Sensor loss / timeouts are not managed yet
* Burst data and Acks are not handled
* Device descriptions, versions and battery messages are not handled

Aside from the bugs above part 3 wil also need to include;
* Configuration screen fixups and device pairing
* Add a calibration button to the realtime window

Lastly, the refactoring of the quarqd code is incomplete, there is still
a need to use ANTMessage across the code, especially within the ANTChannel
code which still does a bit of decoding locally.
2011-03-05 15:08:41 +00:00
2010-12-30 17:35:23 +00:00
2009-10-03 17:57:22 -04:00
2010-12-30 17:35:23 +00:00
2011-03-05 15:08:41 +00:00
2009-09-20 11:13:11 -07:00
2009-09-20 11:13:11 -07:00
2006-09-06 23:59:42 +00:00

To build

  cp src/gcconfig.pri.in src/gcconfig.pri
  cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri

Edit both src/gcconfig.pri and qwt/qwtconfig.pri as necessary, then

  qmake
  make

To uninstall the older FTDI VCP drivers on Mac OS X, open a Terminal and type:

  sudo mv /System/Library/Extensions/FTDIUSBSerialDriver.kext /tmp

Type your password when prompted, then restart your computer.
Languages
Standard ML 68.3%
C++ 28.1%
C 2.7%
Yacc 0.2%
QMake 0.2%
Other 0.1%