nRF51 SDK - S310 SoftDevice
|
The Heart Rate Application is an example that implements the Heart Rate profile using the hardware delivered in the nRF51 Development Kit. It also implements the ANT Heart Rate Profile receiver. The aggregated data received from ANT is relayed and sent as BLE notifications.
The application includes the two BLE services in the Heart Rate profile:
When notification of Heart Rate Measurement characteristic is enabled, the Heart Rate Measurement, containing the current value for all the components of the Heart Rate Measurement characteristic, is notified each time there is new data received from the ANT connection.
This example is based on the S110 BLE Heart Rate application (ble_app_hrs_s110_pca10028). See that example for additional documentation.
The name of the example is ble_ant_app_hrm_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>\Nordic\nrf51\examples\multiprotocol\ble_ant_app_hrm
LED assignments:
Button assignments:
Test the Heart Rate Relay Application with the nRF Toolbox app, which is available on both iOS (Apple Store) and Android (Google Play).
You can also test the application with the Master Control Panel by performing the following steps:
<InstallFolder>\Nordic\nrf51\examples\ant\ant_hrm\hrm_tx_buttons
Alternatively, you can connect to an ANT heart rate belt if you change ANT_HRMRX_NETWORK_KEY to the ANT+ Network Key.