nRF5 SDK  v13.1.0
Choose documentation:
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ANT stack configuration
This information applies to the following SoftDevice: S212

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).
*/
}