nRF51 SDK - S110 SoftDevice
|
The Blood Glucose Application is an example that implements the Blood Glucose profile using the hardware delivered in the nRF51 Development Kit.
The application includes the two services in the Blood Glucose profile:
In addition, use of the Battery Service is also demonstrated.
When the application starts, a timer for generating battery measurements is started.
The actual measurements are hard-coded values. They get added when connected and bonded to a central, at each press of the button 1. The timestamps are simulated and it uses the Record Access Control point and implements the filtering on sequence number. It supports only glucose measurement characteristic, not glucose context.
The name of the example is ble_app_gls_s110_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\ble_peripheral\ble_app_gls
Button assignments:
The Blood Glucose Application secures the bond using Man-in-the-Middle protection (MITM). A passkey must be entered at the central to complete the bonding and ensure MITM protection. The Blood Glucose Application will present the passkey during bonding. It is sent on the UART. It is therefore important that UART is set up correctly on the receiving side.
The Blood Glucose Meter Profile uses the Record Access Control Point characteristic to access all measurements. This means that the sensor does not automatically send new measurements, but the collector has to fetch them writing request to the control point (see http://developer.bluetooth.org/Pages/default.aspx for more detail on the RACP characteristic).
Test the Glucose Meter 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: