Broadcast

nRF5 SDK v9.0.0

nRF51 SDK v9.0.0
This example requires the following SoftDevice: S210

Important: Before you run this example, make sure to install the SoftDevice .

Basic examples to test ANT connectivity between Master and Slave.

They both use public network key {0, 0, 0 , 0 , 0, 0, 0}

ANT Broadcast TX

The channel period is set to 4 Hz (8192). When a packet is transmitted, it will indicate the state BSP_INDICATE_SENT_OK . Whenever the processor enters sleep state, the state BSP_INDICATE_ALERT_0 ist set. The BSP_INDICATE_ALERT_OFF state is set when woken up by (any / RF ) interrupt.

The name of the example is ant_broadcast_tx_s210_pca10028 . If you are not using the Keil Pack Installer, you can find the source code and project file of the example in the following folder: <InstallFolder>\examples\ant\ant_broadcast\broadcast_tx

ANT Broadcast RX

The example uses wildcard connection, which implies that it will connect to the nearest ANT device that is broadcasting. The channel period is set to 4 Hz (8192). When a packet is received, it will indicate the state BSP_INDICATE_RCV_OK . Whenever the processor enters sleep state, the state BSP_INDICATE_ALERT_0 ist set. The BSP_INDICATE_ALERT_OFF state is set when woken up by (any / RF ) interrupt.

The name of the example is ant_broadcast_rx_s210_pca10028 . If you are not using the Keil Pack Installer, you can find the source code and project file of the example in the following folder: <InstallFolder>\examples\ant\ant_broadcast\broadcast_rx


Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone .