Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_WallbotBLE_Challenge by
ble_hrs.h File Reference
Go to the source code of this file.
Data Structures | |
struct | ble_hrs_evt_t |
Heart Rate Service event. More... | |
struct | ble_hrs_init_t |
Heart Rate Service init structure. More... | |
struct | ble_hrs_s |
Heart Rate Service structure. More... | |
Typedefs | |
typedef struct ble_hrs_s | ble_hrs_t |
Heart Rate Service structure. | |
typedef void(* | ble_hrs_evt_handler_t )(ble_hrs_t *p_hrs, ble_hrs_evt_t *p_evt) |
Heart Rate Service event handler type. | |
Enumerations | |
enum | ble_hrs_evt_type_t { BLE_HRS_EVT_NOTIFICATION_ENABLED, BLE_HRS_EVT_NOTIFICATION_DISABLED } |
Heart Rate Service event type. More... | |
Functions | |
uint32_t | ble_hrs_init (ble_hrs_t *p_hrs, const ble_hrs_init_t *p_hrs_init) |
Function for initializing the Heart Rate Service. | |
void | ble_hrs_on_ble_evt (ble_hrs_t *p_hrs, ble_evt_t *p_ble_evt) |
Function for handling the Application's BLE Stack events. | |
uint32_t | ble_hrs_heart_rate_measurement_send (ble_hrs_t *p_hrs, uint16_t heart_rate) |
Function for sending heart rate measurement if notification has been enabled. | |
void | ble_hrs_rr_interval_add (ble_hrs_t *p_hrs, uint16_t rr_interval) |
Function for adding a RR Interval measurement to the RR Interval buffer. | |
bool | ble_hrs_rr_interval_buffer_is_full (ble_hrs_t *p_hrs) |
Function for checking if RR Interval buffer is full. | |
uint32_t | ble_hrs_sensor_contact_supported_set (ble_hrs_t *p_hrs, bool is_sensor_contact_supported) |
Function for setting the state of the Sensor Contact Supported bit. | |
void | ble_hrs_sensor_contact_detected_update (ble_hrs_t *p_hrs, bool is_sensor_contact_detected) |
Function for setting the state of the Sensor Contact Detected bit. | |
uint32_t | ble_hrs_body_sensor_location_set (ble_hrs_t *p_hrs, uint8_t body_sensor_location) |
Function for setting the Body Sensor Location. |
Detailed Description
Definition in file ble_hrs.h.
Generated on Tue Jul 12 2022 13:52:31 by
