I have a complex application utilizing ble and ANT on the nRF52832. Slave channels receive fine but a master broadcast channel I have setup does not appear to transmit (as verified by sniffing for the transmission). The same code standalone works fine. The EVENT_TX message is received at the correct frequency and sd_ant_broadcast_message_tx does not return any type of error code. The code below is setting up the channel:
static ant_channel_config_t ant_channel_config_remote = \
{ \
.channel_number = 1, \
.channel_type = CHANNEL_TYPE_MASTER, \
.ext_assign = 0, \
.rf_freq = 57, \
.transmission_type = 5, \
.device_type = 16, \
.device_number = 2, \
.channel_period = 8192, \
.network_number = 0, \
};
uint32_t err_code = ant_channel_init(&ant_channel_config_remote);
APP_ERROR_CHECK(err_code);
//first message frame
char message[] = {2,0,0,0,0,0,0,0x50};
err_code = sd_ant_broadcast_message_tx(ANT_REMOTE_CHANNEL, 8, message);
APP_ERROR_CHECK(err_code);
err_code = sd_ant_channel_open(ANT_REMOTE_CHANNEL);
APP_ERROR_CHECK(err_code);