Could you help me to run a HR, I already read ant protocol and hr profile but I don't undestand when i'm going to receive the transmission type and the device number of my HR ?
if you are a master device, you set the channel ID using the SetChannelID command...
as a slave, if you use any wildcard (i.e. '0') values when you set the channel ID: the channel id is acquired once you have synchronised to a device... so once you start receiving messages, you can use the request message to obtain to get the message from the ANT device. Refer to teh device pairing application note