This information applies to the following SoftDevices:
S212, S332
This module configures the channel resources of the ANT stack:
- Total number of ANT channels
- Number of encrypted channels
- Transmit burst queue size
- Event queue size
The API for this module is available here: ANT stack configuration
The following code example shows how to use the module:
void
user_ant_initialization(
void
)
{
sd_softdevice_enable
();
// The SoftDevice must be enabled before configuring the stack.
ant_stack_static_config
();
// Configure and enable the ANT stack.
/*
Other ANT calls (must be called after the configuration).
*/
}