nRF51 SDK - S110 SoftDevice
|
The Running Speed and Cadence Application is a firmware example that implements the Running Speed and Cadence 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\s110\ble_app_rscs
folder.
The application includes the two services in the Running Speed and Cadence profile:
In addition, use of the Battery Service is also demonstrated.
When the application starts, it starts a timer to simulate Running Speed and Cadence Measurements.
Also, a timer for generating battery measurements is started.
The sensor measurements are simulated the following way:
When notification of Running Speed and Cadence Measurement characteristic is enabled, the Running Speed and Cadence Measurement, containing the current value for all the components of the Running Speed and Cadence Measurement characteristic, is notified each time the Running Speed and Cadence measurement timer expires. When notification of Battery Level characteristic is enabled, the Battery Level is notified each time the Battery Level measurement timer expires.
Instructions on how to set up the nRFgo Motherboard: nRFgo Motherboard Setup (nRF6310).
LED assignments:
Buttons assignments:
The Running Speed and Cadence Application can be tested using the Master Control Panel as follows: