Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

You are here: Forum Home → ANT+ Forums → ANT+ Heart Rate Monitor → Thread

   

HRM data format (From Sensor)

Rank

Total Posts: 2

Joined 2011-07-12

PM

Process:
1.Transmit 64 sets of Page0(the toggle bit changes every fourth message);
2.Transmit one Page1;
3.Transmit 64 sets of Page0 again;
4.Transmit one Page2;
5.Transmit 64 sets of Page0 again;
6.Transmit one Page3;
7.Repeat 1-6 ;

is it right for ANT+ HRM format?      
RankRankRankRank

Total Posts: 116

Joined 2008-11-21

PM

Yes, this is correct.      
Rank

Total Posts: 2

Joined 2011-07-12

PM

thanks for your reply! another questions:

Here are the data that ANTwareII received from FINIS HRM. I still have some questions.

......

:: 4e, 00-00-00-00-00-D0-17-03-4A

:: 4e, 00-00-00-00-00-D0-17-03-4A

:: 4e, 00-00-00-00-00-D0-17-03-4A

:: 4e, 00-00-00-00-00-D0-17-03-4A

:: 4e, 00-80-00-00-00-D0-17-03-4A

:: 4e, 00-80-00-00-00-D0-17-03-4A

:: 4e, 00-80-00-00-00-D0-17-03-4A

:: 4e, 00-80-00-00-00-D0-17-03-4A

:: 4e, 00-00-00-00-00-D0-67-04-4E

:: 4e, 00-00-00-00-00-D0-67-04-4E

:: 4e, 00-02-02-CD-AB-D0-67-04-4E

:: 4e, 00-00-02-CD-AB-D0-67-04-4E

:: 4e, 00-80-02-CD-AB-D0-67-04-4E

:: 4e, 00-80-02-CD-AB-D0-67-04-4E

:: 4e, 00-80-02-CD-AB-D0-67-04-4E

:: 4e, 00-80-02-CD-AB-D0-67-04-4E

:: 4e, 00-00-02-CD-AB-D0-67-04-4E

:: 4e, 00-00-02-CD-AB-D0-67-04-4E

:: 4e, 00-00-02-CD-AB-D0-67-04-4E

:: 4e, 00-00-02-CD-AB-D0-67-04-4E

……

:: 4e, 00-80-02-00-00-D0-67-04 -4E

:: 4e, 00-80-02-00-00-D0-67 -04-4E

:: 4e, 00-03-02-00-00-D0-67-04-4E

:: 4e, 00-80-02-00-00-D0-67-04-4E

……



1. 00-00-00-00-D0-17-03-4A (8 bytes) is the data I send to ANT chip, but why is there a byte 00 in front of the 8 bytes (4e, 00-00-00-00-00-D0-17-03-4A)?

2. Pease see Page2 4e, 00-02-02-CD-AB-D0-67-04-4E and Page3 4e, 00-03-02-00-00-D0-67-04-4E.

a. Do I need to change the toggle bit of Page2? Like this: 00-82-02-CD-AB-D0-67-04-4E. If there is no need, should I change Page3 to :: 4e, 00-83-02-00-00-D0-67-04-4E?

b. Do I need to change the location of Page2 and Page3? Like this:

:: 4e, 00-02-02-CD-AB-D0-67-04-4E

:: 4e, 00-00-00-00-00-D0-67-04-4E

:: 4e, 00-00-00-00-00-D0-67-04-4E

:: 4e, 00-00-02-CD-AB-D0-67-04-4E

……

:: 4e, 00-03-02-00-00-D0-67-04-4E

:: 4e, 00-80-02-00-00-D0-67-04 -4E

:: 4e, 00-80-02-00-00-D0-67 -04-4E

:: 4e, 00-80-02-00-00-D0-67-04-4E

……

Thanks very much!      
Avatar
RankRankRankRank

Total Posts: 213

Joined 2011-05-02

PM

Hello,

1. The 00 you are seeing before the 8 byte data payload is the channel number that the data is being received from. You might get a better understanding of the message format by taking a look at the actual log file 'Device0.txt' under the 'Log Files' tab in ANTware II.

2.
a) Bit 7 (toggle bit) is separate from the page number. The toggle bit will toggle every 4 messages regardless of the page number being transmitted. The page number (bits 0-6) will change according to the transmission pattern.

b) The background data pages are required every 65th message. Page 2 and 3 are required by the HR device profile, so yes you will have to switch them.

Cheers      
Rank

Total Posts: 2

Joined 2011-07-12

PM

hi, thanks very much! i have another question:

I used an nRF24AP2-1CH chip for HRM which I just can set to channel 0. So there is a problem, I can’t use one nRF24AP2-8CH chip to receive 8 HRM at the same time.
If I want to solve this problem, I also need use an nRF24AP2-8CH chip for HRM.

Do you think so?      
RankRankRankRank

Total Posts: 116

Joined 2008-11-21

PM

If you want to receive data from 8 HRM devices, you can use the AP2 8CH part and configure all 8 channels to receive HRM data.

As a source for the data, you can use 8 physically independent HRM devices (all could use an AP2-1CH)... or you could use a USB2 (i.e. AP2-8CH) device with the simulator and configure each channel as an HRM device.