This information applies to the following SoftDevice: S212
This module configures the ANT channel according to the configuration structure ant_channel_config_t.
The API for this module is available here: ANT channel configuration
The following code example shows how to use the module:
void user_ant_channel(void)
{
uint32_t err_code;
{
.channel_number = CHANNEL_NUMBER,
.ext_assign = EXT_ASSIGN,
.rf_freq = RF_FREQ,
.transmission_type = TRANSMISSION_TYPE,
.device_type = DEVICE_TYPE,
.device_number = DEVICE_NUMBER,
.channel_period = CHANNEL_PERIOD,
.network_number = NETWORK_NUMBER,
#if ANT_CONFIG_ENCRYPTED_CHANNELS > 0
.p_crypto_settings = NULL
#endif
};
}