SG RFID nRF51822 fork

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

ble_hrs_init_t Struct Reference

ble_hrs_init_t Struct Reference
[Heart Rate Service]

Heart Rate Service init structure. More...

#include <ble_hrs.h>

Data Fields

ble_hrs_evt_handler_t evt_handler
 Event handler to be called for handling events in the Heart Rate Service.
bool is_sensor_contact_supported
 Determines if sensor contact detection is to be supported.
uint8_t * p_body_sensor_location
 If not NULL, initial value of the Body Sensor Location characteristic.
ble_srv_cccd_security_mode_t hrs_hrm_attr_md
 Initial security level for heart rate service measurement attribute.
ble_srv_security_mode_t hrs_bsl_attr_md
 Initial security level for body sensor location attribute.

Detailed Description

Heart Rate Service init structure.

This contains all options and data needed for initialization of the service.

Definition at line 84 of file ble_hrs.h.


Field Documentation

Event handler to be called for handling events in the Heart Rate Service.

Definition at line 86 of file ble_hrs.h.

Initial security level for body sensor location attribute.

Definition at line 90 of file ble_hrs.h.

Initial security level for heart rate service measurement attribute.

Definition at line 89 of file ble_hrs.h.

Determines if sensor contact detection is to be supported.

Definition at line 87 of file ble_hrs.h.

If not NULL, initial value of the Body Sensor Location characteristic.

Definition at line 88 of file ble_hrs.h.