nRF51 SDK - S130 SoftDevice
|
The BLE Heart Rate Collector application implements the Heart Rate Collector Role using the S120 or S130 SoftDevice.
GAP role implemented is the Central role. GATT role implemented is the Client role.
The Heart Rate Collector application implements the Collector role for the Heart Rate Profile. It scans peripheral devices, connects to the device advertising with Heart Rate Service UUID in its advertisement report, and discovers and configures the Heart Rate Service to start sending Notifications of Heart Rate Measurement. The Heart Rate Measurement received is logged on UART interface. This application will also discover and configure Battery Service at the peer.
The application includes the two services in the Heart Rate profile:
The name of the example for PCA10028 is ble_app_hrs_c_s130_pca10028, and for PCA10031 it is ble_app_hrs_c_s130_pca10031. 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\ble_central\ble_app_hrs_c
Button assignments: BSP BLE Button Assignments.
The application uses the following UART settings:
Two boards are needed to perform this test:
The application running on the Sensor Board is intended to serve as a peer (i.e. Heart Rate Sensor role) to this Heart Rate Collector application.
Test the BLE Heart Rate Collector Example application by performing the following steps: