Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

You are here: Forum Home → ANT+ Forums → ANT+ Bike Power → Thread

   

No data received withMac SDK [solved]

Rank

Total Posts: 2

Joined 2017-02-23

PM

Hi,

I'm trying to receive power data from bike, using the SDK for Mac OS but it doesn't work. When I'm using ANTware in a Windows environment I can receive data, but when I'm using the demo code from DEMO_lib with the same parameters as ANTware, I get these messages from the console :

Channel Type? (Master 0Slave 1)
1
Resetting module
...
RESET CompletereasonRESET_CMD 
Setting network key
...
ANT initialisation was successful!
Network key set.
Assigning channel...
Channel assigned
Setting Channel ID
...
Channel ID set
Setting Radio Frequency
...
Radio Frequency set
Setting Message Period
...
Message period assigned
Opening channel
...
Chanel opened
Search Timeout
Channel Closed
Unassigning channel
...
Channel unassigned
Press enter to 
exit 


I don't receive any data, so the module disconnects.
In the log file I can see :
3.783 {2477640596} Tx [A4][01][4A][00][EF][00][00]
     3.784 {2477640597} Rx 
[A4][01][6F][20][EA]
     4.787 {2477641600} Tx 
[A4][09][46][00][00][00][00][00][00][00][00][00][64][00][00]
     4.787 {2477641600} Rx 
[A4][03][40][00][46][00][A1]
     4.787 {2477641600} Tx 
[A4][03][42][00][00][00][E5][00][00]
     4.788 {2477641601} Rx 
[A4][03][40][00][42][00][A5]
     4.788 {2477641601} Tx 
[A4][05][51][00][F1][08][0B][00][02][00][00]
     4.789 {2477641602} Rx 
[A4][03][40][00][51][00][B6]
     4.789 {2477641602} Tx 
[A4][02][45][00][39][DA][00][00]
     4.789 {2477641602} Rx 
[A4][03][40][00][45][00][A2]
     4.789 {2477641602} Tx 
[A4][03][43][00][86][1F][7D][00][00]
     4.790 {2477641603} Rx 
[A4][03][40][00][43][00][A4]
     4.790 {2477641603} Tx 
[A4][01][4B][00][EE][00][00]
     4.790 {2477641603} Rx 
[A4][03][40][00][4B][00][AC]
    34.563 {2477671376} Rx 
[A4][03][40][00][01][01][E7]
    34.563 {2477671376} Rx 
[A4][03][40][00][01][07][E1]
    34.563 {2477671376} Tx 
[A4][01][41][00][E4][00][00]
    34.564 {2477671377} Rx 
[A4][03][40][00][41][00][A6] 


But I'm not sure it's a useful information. Does anyone have an idea on this issue ?

Thanks,
Adrien
     
Rank

Total Posts: 2

Joined 2017-02-23

PM

I finally found the solution : I have to enter the device number using hexadecimal convention, or to remove the first 0 using decimal convention.