Status: New
Owner: ----
Labels: Type-Enhancement
New issue 1348 by
mikmiste...@gmail.com: Change from old ANT API to new
ANT+ Plugins API
http://code.google.com/p/mytracks/issues/detail?id=1348
Convert ANT sensor code to use the new ANT+ Plugins API. The new ANT+
Plugins API contains easy to use plugins that handle the implementation of
the ANT protocol such as connecting to the device, interpreting data,
sending commands, and managing the connection. Using the API roughly
involves implementing result and state receivers, passing these receivers
into a requestAccess method that initiates a connection to a device. Data
can then be gathered from the connected device by subscribing to events
which will pass along the device data such as heart rate, speed etc.
depending on which device you are connecting to.
Switching to use the ANT+ Plugins API will ensure full and complete
compatibility with ANT+ devices as the API also handles the implementation
of the device profiles. As the API grows and more ANT+ device profiles are
added, the effort to add support for these devices will be minimal with no
effort being spent on decoding the ANT messages or managing the channel;
all this is done by the API.
The new API also allows mytracks to run concurrently with other apps using
ANT rather than seizing control of the entire ANT interface and will only
use the ANT channels it requires, allowing other apps to use the remaining
ANT channels.
The current version of the ANT+ Plugins API supports the Heart Rate, Speed
and Distance profiles required by mytracks. The plugins for the Bike Speed,
Bike Cadence, Combined Bike Speed and Cadence and Bike Power are now in
beta testing and can be acquired by developers
(
http://www.thisisant.com/forum/viewthread/4057/). The beta version of the
ANT+ Plugins API contains all the functionality and device profiles
required by mytracks.
If the main distribution of mytracks is interested in switching to the new
ANT+ API, I am willing to work on this issue.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings