In the ANT Message Protocol doc, section 7.1.1.1, and in example code, the Device Number is treated as a uint16_t and shown as a two byte field in the flagged extended data message. However, the MSB is always received as 0 and, looking at the definition of the ant_channel_config_t, device_number is defined as a uint8_t, meaning that the MSB will be lost on setting this field.
What size is it SUPPOSED to be?
Tom