I bougt two Nordic USB ANT Sticks. I can’t get any response from ANT without using “Example VB Program for Garmin HRMs”.
Everytime, after the “Example VB Program for Garmin HRMs” to “open” is used, ANT responds commands from Host MCU(PC), (reset , assign channel… open channel ).
It seems the “Example VB Program for Garmin HRMs” not only open the UART port, but also communicate with ANT use some handshaking signal.
I do not know about the Garmin app but in my apps for the ANT USB stick I do not use handshaking or flow control. I simply wait for the ANT module’s response before I send any more data to it.
If you follow the example ATMega168 code that should give you all the basis you need to get your USB sticks working.
Where can I find the code samples that you both have referenced? I purchased a couple of USB ANT sticks and downloaded the DLLs from the (thisisant.com) website but have not seen any code samples.
There are Mega168 code examples for a master and a slave on the Sparkfun page for the AP1 modules that cant give you an idea of what you need to send to the USB stick.
The ANT DLL and C/C++ source and header files are not really necessary but they do help with your #defines and function prototypes.
The “ANT Message and Protocol Usage” document will be your best advisor when working with these units.