Nordic stack and drivers for the mbed BLE API

Dependents:   idd_hw5_bleFanProto

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

ble_hrs_c.h File Reference

ble_hrs_c.h File Reference

Go to the source code of this file.

Data Structures

struct  ble_hrm_t
 Structure containing the heart rate measurement received from the peer. More...
struct  ble_hrs_c_evt_t
 Heart Rate Event structure. More...
struct  ble_hrs_c_s
 Heart Rate Client structure. More...
struct  ble_hrs_c_init_t
 Heart Rate Client initialization structure. More...

Typedefs

typedef struct ble_hrs_c_s ble_hrs_c_t
 Heart Rate Client structure.
typedef void(* ble_hrs_c_evt_handler_t )(ble_hrs_c_t *p_ble_hrs_c, ble_hrs_c_evt_t *p_evt)
 Event handler type.

Enumerations

enum  ble_hrs_c_evt_type_t { BLE_HRS_C_EVT_DISCOVERY_COMPLETE = 1, BLE_HRS_C_EVT_HRM_NOTIFICATION }
 

HRS Client event type.

More...

Functions

uint32_t ble_hrs_c_init (ble_hrs_c_t *p_ble_hrs_c, ble_hrs_c_init_t *p_ble_hrs_c_init)
 Function for initializing the heart rate client module.
void ble_hrs_c_on_ble_evt (ble_hrs_c_t *p_ble_hrs_c, const ble_evt_t *p_ble_evt)
 Function for handling BLE events from the SoftDevice.
uint32_t ble_hrs_c_hrm_notif_enable (ble_hrs_c_t *p_ble_hrs_c)
 Function for requesting the peer to start sending notification of Heart Rate Measurement.

Detailed Description

Definition in file ble_hrs_c.h.