nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Bluetooth part of Multiprotocol Application

Heart rate demo application used in the multiprotocol application. More...

Functions

void ble_stack_start (void)
 Function for initializing the BLE stack. More...
 
void ble_stack_stop (void)
 Function for disabling the BLE stack.
 
void ble_hrs_app_start (void)
 Function for initializing used services and starting the Bluetooth Heart rate application. More...
 
void ble_hrs_app_stop (void)
 Function for stopping the Bluetooth Heart rate application. More...
 

Detailed Description

This file contains the source code for the Bluetooth part of multiprotocol sample application using the Heart Rate Service (and also Battery Service and Device Information Service). This application uses the Connection Parameters Negotiation module.

Function Documentation

void ble_stack_start ( void  )

Initializes the SoftDevice and the BLE event interrupt.

void ble_hrs_app_start ( void  )

This function initializes the Heart Rate service, the Battery service and the Device information, setup the advertising data and GAP database and then start advertising.

void ble_hrs_app_stop ( void  )

This function stops all timers used by the Bluetooth Heart rate application.