![]() |
nRF5 SDK
v13.0.0-1.alpha
|
Choose documentation: | nRF5 SDK | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API |
Important: Before you run this example, make sure to program the SoftDevice.
The Multi Channels example shows how to set up and enable up to 15 ANT channels on one board.
The example consists of a Transmitter application and a Receiver application.
The Transmitter application creates the defined number of master channels. The pattern of the LEDs indicates the number of open transmitting broadcast channels. For example, if four channels are transmitting, the LED pattern is 0100.
You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\ant\ant_multi_channels\tx
The Receiver application creates the defined number of slave channels. The pattern of the LEDs indicates the number of tracking channels. For example, if four channels are tracking, the LED pattern is 0100.
You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\ant\ant_multi_channels\rx
Note: You can use a custom channel or encryption when running any of the ANT examples. When adding a new channel or encryption, remember to update ANT stack configuration.
You can test the Encrypted Channels example in different ways:
<InstallFolder>\examples\ant\ant_multi_channels\rx\ant_multi_channels_rx_test.xml
. Alternatively, you can configure the device channels manually:Parameter | Value |
---|---|
Device number | Channel number + 1 |
Device type | 2 |
Transmission type | 1 |
<InstallFolder>\examples\ant\ant_multi_channels\tx\ant_multi_channels_tx_test.xml
. Alternatively, you can configure the device channels manually:Parameter | Value |
---|---|
Device number | Channel number + 1 |
Device type | 2 |
Transmission type | 1 |