Important: Before you run this example, make sure to program the SoftDevice.
The ANT Frequency Agility example is designed to showcase the ability of ANT to move to a different RF channel when RF interference occurs, potentially improving the quality of service for point-to-point ANT connections in noisy RF environments. When the RF connection is lost, the ANT protocol on both the master and slave endpoints hops according to the RF channel list defined by the application.
You can use this example in one of the following ways:
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 SoftDevice ANT event handler configuration.
You can test the ANT Frequency Agility example in the following ways:
<InstallFolder>\examples\ant\experimental\ant_frequency_agility\ant_frequency_agility_tx\ant_frequency_agility_tx_test.xml
. Alternatively, you can configure the device channels manually:Parameter | Value |
---|---|
Device number | 0 |
Device type | 3 |
Transmission type | 5 |
TX Buffer Value | Description |
---|---|
01-00-00-00-00-00-00-FE | Turns on BSP_LED_0 on the board. |
01-00-00-00-00-00-00-FD | Turns on BSP_LED_1 on the board. |
01-00-00-00-00-00-00-FB | Turns on BSP_LED_2 on the board. |
01-00-00-00-00-00-00-F7 | Turns on BSP_LED_3 on the board. |
ANTware will now respond with its own message every time it receives an ANT broadcast message to control the LEDs on the board. The buttons on the board allow you to modify the contents of the broadcast messages that are transmitted to ANTware.