Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

DEMO_DLL callback functions not being called

Rank

Total Posts: 4

Joined 2013-10-27

PM

Hi,

I'm trying to run the DEMO_DLL with my ANT+ USB1 stick plugged in. Initialization goes fine, but the callback functions Test_ResponseCallback and ANT_AssignChannelEventFunction are not being called, although they are registered...
// ...
   
ANT_AssignResponseFunction(Test_ResponseCallbackaucResponseBuffer);
   
ANT_AssignChannelEventFunction(USER_ANTCHANNEL,Test_ChannelCallbackaucChannelBuffer); 
   
// ... 

No information appear in the console if I choose 'request capabilities' or any other position from menu. However everything works fine in the DEMO_LIB (with the same baud rate and other channel parameters).
I also can not run this demo in 'debug' mode.

This may be similar to this question, but I do not even get any responses after "Initialization was successful!"

How can I solve this?      
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

Are the USB1 Driver libraries also present in the working directory?
The USB1 stick uses different drivers then the USB2 or USBm sticks.