Important: Before you run this example, make sure to program the SoftDevice.
The scalable Encrypted Channels example shows how to set up and use up to 15 encrypted ANT channels on one board.
The example consists of a Transmitter application and a Receiver application. Both applications use the Encryption configuration module. The Receiver application uses the Encryption negotiation module in addition.
The Transmitter application creates the defined number of master channels, configures the encryption settings, and encrypts the channels.
The pattern of the LEDs indicates the number of open transmitting encrypted channels. For example, if four channels are transmitting, the LED pattern is 0100.
You can find the source code and project file of the example in the following folder: <InstallFolder>\examples\ant\ant_scalable_encrypted\scalable_encrypted_tx
The Receiver application creates the defined number of slave channels, configures the encryption settings, and starts tracking the respective master channels, which requires negotiating the encryption parameters.
The pattern of the LEDs indicates the number of decrypted channels. For example, if four channels are tracking encrypted master channels, the LED pattern is 0100.
You can find the source code and project file of the example in the following folder: <InstallFolder>\examples\ant\ant_scalable_encrypted\scalable_encrypted_rx
You can test the Encrypted Channels example in different ways:
Parameter | Value |
---|---|
Device number | Channel number + 1 |
Device type | 2 |
Transmission type | 1 |