I am trying to “spy on” two ANT+ devices talking to each other:
- The first device is a bike trainer running the ANT+ FEC profile
- The second device is a computer (running Zwift and sending commands to the trainer)
My goal is to receive the ANT+ messages coming from the computer on a nRF52832 (and especially page 51 of the FEC profile).
I managed so far only to receive the bike trainer ANT+ messages, but not the messages sent from the computer.
What should I change in my configuration ?
(The bike sends pages 16 and 25 – speed and power- , and the computer should be sending acknowledged data page 51 – simulated slope -).
I am using a continuous scanner to listen from the nRF5232 configured as follows:
ant_channel_config_t channel_config =
{
.channel_number = 0x00,
.channel_type = CHANNEL_TYPE_SLAVE,
.ext_assign = 0x00,
.rf_freq = 0x39,
.transmission_type = WILDCARD_TRANSMISSION_TYPE,
.device_type = FEC_DEVICE_TYPE,
.device_number = 0x00, // Wildcard
.channel_period = 0x00, // Not used, since this is going to be scanning
.network_number = ANTPLUS_NETWORK_NUMBER,
};