nRF51 SDK
|
Modules | |
main.c | |
Blood Pressure Service Sample Application main file. | |
The Blood Pressure Application is a firmware example that implements the Blood Pressure profile using the hardware delivered in the nRF51822 Development Kit.
The source code and project file can be found in the <InstallFolder>\Nordic\nrf51822\Board\nrf6310\ble\ble_app_bps
folder.
The application includes the two services in the Blood Pressure profile:
In addition, use of the Battery Service is also demonstrated. When the application starts, a timer for generating battery measurements is started.
When indication of the Blood Pressure Measurement characteristic is enabled, a Blood Pressure Measurement is transmitted. This also happens when reconnecting to a previously bonded master. A Blood Pressure Measurement is also transmitted each time button 0 is pushed.
Instructions on how to set up the nRFgo Motherboard: nRFgo Motherboard Setup (nRF6310).
LED assignments:
Buttons assignments when in system-off:
Buttons assignments when connected:
The Blood Pressure Application can be tested using the nRFReady Utility app for iOS. The app will be listed as "nRFReady Utility" on Apple Store.
It can also be tested using the Master Control Panel as follows: