
- #WIRELESS GARMIN ANT AGENT SERIAL#
- #WIRELESS GARMIN ANT AGENT DRIVERS#
- #WIRELESS GARMIN ANT AGENT DRIVER#
- #WIRELESS GARMIN ANT AGENT CODE#
UCHAR ProcessProtocolEvent(UCHAR ucChannel, UCHAR ucMessageCode)ĪNT_AssignResponseFunction( (RESPONSE_FUNC)ProcessProtocolEvent, aucResponseBuf ) ĪNT_AssignChannelEventFunction( ANT_CHANNEL, (CHANNEL_EVENT_FUNC)ProcessChannelEvent, aucRxBuf ) ĪNT_RequestMessage(ANT_CHANNEL, MESG_CHANNEL_ID_ID) ĪNT_SetNetworkKey(ANT_CHANNEL, GARMIN_KEY) ĪNT_SetChannelSearchTimeout(ANT_CHANNEL, 255) ĪNT_SetChannelPeriod(ANT_CHANNEL, 0x1f86) ĪNT_RequestMessage(0,MESG_CAPABILITIES_ID) UCHAR ProcessChannelEvent(UCHAR ucChannel, UCHAR ucMessageCode)Ĭase EVENT_RX_BROADCAST: // A Broadcast message has been received sucessfullyĬase EVENT_TRANSFER_TX_COMPLETED: // A Acknowledged packet was sucessfully sentĬase EVENT_RX_FAIL_GO_TO_SEARCH: // If we ever go back to search we fail the testĬase EVENT_RX_SEARCH_TIMEOUT: // If we timeout on the search we faile the testĬase EVENT_RX_FAIL: // We failed to receive a message at the designated message periodĬase EVENT_TRANSFER_TX_FAILED: // We failed to get a reply for the acknowledged packet we sent Static UCHAR aucResponseBuf ///< Buffer to hold the response to configuration commands Static UCHAR aucRxBuf ///< Buffer to hold channel specific RF messages and events received from the ANT device Static UCHAR aucTxBuf ///< Buffer to hold messages that are sent to the ANT device #define ANT_CHANNEL ((UCHAR) 7) // My virtual COM port is 7 I know that this problem was discussed in another topic, but there was not real solution given, except that someone mentioned that he could solve it without telling exactly how. But when I press the big button, which says "Check Heart Rate", I get a couple of error popup messages saying bad parameters. I tried the "Example VB Program for Garmin HRMs", but the only thing working is the "Open" button, which opens the channel and acknowledges that by displaying "open" I think.
#WIRELESS GARMIN ANT AGENT SERIAL#
After plugging in, the "USB Serial Port" and the "USB Serial Converter" were installed.
#WIRELESS GARMIN ANT AGENT DRIVERS#
I have these drivers and they are working fine.
#WIRELESS GARMIN ANT AGENT DRIVER#
On the sparkfun product site of the stick it says that you need the FTDI driver and everything should work. So maybe that's the problem, that the stick is not installed properly, because I don't have the right drivers.

I contacted the support from, but I only got this answer: "The USB stick you are using is designed by Sparkfun, uses different hardware than the Dynastream USB sticks and interface boards, and thus, is not compatible with our drivers.". To be honest I'm not quite sure, if the stick is installed properly, because it doesn't appear in the device manager as "USB ANT Stick" in the "USB controllers" section, but instead appearas as "Unknown device" without attached drivers.
#WIRELESS GARMIN ANT AGENT CODE#
The "ProcessProtocolEvent" and "ProcessChannelEvent" routines (see code below) are never executed, that means there is no messaging happening between the USB stick and the HRM. Unfortunately nothing exciting happens from there. I found the ant_dll.cpp, ant_dll.h and the ant_dll.dll on the site and managed to include them successfully into my project, so that I can compile the code.

ts_id=8840) and the Garmin Hearth Rate Monitor in C++/MFC using Microsoft Visual Studio 2008. I'm new to the ANT protocol and I'm trying to establish a very simple ANT connection between the Nordic USB ANT Stick (. Therefore I'm really sorry if this is an unnessary post.

At least I wasn't able to find a suitable solution in the topics I got from using the search engine. I'm new here, but I've a problem which was maybe discussed a couple of times, but still wasn't answered properly.
