BSP ANT Button Module

nRF5 SDK v11.0.0

nRF5 SDK v11.0.0
This information applies to the following SoftDevices: S212, S332

The ANT Button Module provides a button configuration for putting the board into sleep mode and for waking it up. It is used in the ANT+ examples in the SDK.

The application must propagate ANT events to the ANT Button Module. Based on these events, the Board Support Package is reconfigured to generate certain BSP events. These BSP events should then be handled by the application's BSP event handler.

The ANT Button Module configures the following button actions for the Board Support Package:

  • When the device is in search mode, pressing Button 4 puts the device into sleep mode. This generates a BSP_EVENT_SLEEP event.
  • After establishing a connection, Button 4 is disabled.
  • When the device is in sleep mode, pressing Button 4 wakes it up.