Wallbot_CaaS
Dependencies: MPU6050 mbed PID
Fork of BLE_MPU6050_test6_challenge_sb by
ble_bps.h File Reference
Go to the source code of this file.
Data Structures | |
struct | ble_bps_evt_t |
Blood Pressure Service event. More... | |
struct | ieee_float16_t |
SFLOAT format (IEEE-11073 16-bit FLOAT, defined as a 16-bit vlue with 12-bit mantissa and 4-bit exponent. More... | |
struct | ble_bps_init_t |
Blood Pressure Service init structure. More... | |
struct | ble_bps_s |
Blood Pressure Service structure. More... | |
struct | ble_bps_meas_s |
Blood Pressure Service measurement structure. More... | |
Typedefs | |
typedef struct ble_bps_s | ble_bps_t |
Blood Pressure Service structure. | |
typedef void(* | ble_bps_evt_handler_t )(ble_bps_t *p_bps, ble_bps_evt_t *p_evt) |
Blood Pressure Service event handler type. | |
typedef struct ble_bps_meas_s | ble_bps_meas_t |
Blood Pressure Service measurement structure. | |
Enumerations | |
enum | ble_bps_evt_type_t { BLE_BPS_EVT_INDICATION_ENABLED, BLE_BPS_EVT_INDICATION_DISABLED, BLE_BPS_EVT_INDICATION_CONFIRMED } |
Blood Pressure Service event type. More... | |
Functions | |
uint32_t | ble_bps_init (ble_bps_t *p_bps, const ble_bps_init_t *p_bps_init) |
Function for initializing the Blood Pressure Service. | |
void | ble_bps_on_ble_evt (ble_bps_t *p_bps, ble_evt_t *p_ble_evt) |
Function for handling the Application's BLE Stack events. | |
uint32_t | ble_bps_measurement_send (ble_bps_t *p_bps, ble_bps_meas_t *p_bps_meas) |
Function for sending blood pressure measurement if indication has been enabled. | |
uint32_t | ble_bps_is_indication_enabled (ble_bps_t *p_bps, bool *p_indication_enabled) |
Function for checking if indication of Blood Pressure Measurement is currently enabled. |
Detailed Description
Definition in file ble_bps.h.
Generated on Tue Jul 12 2022 18:33:09 by 1.7.2