![]() |
Bluetooth LE Profile API document
Bluetooth LE Profile API document Rev.1.00 [May 22, 2020]
|
This service exposes blood pressure and other data from a blood pressure monitor intended for healthcare applications. More...
This service exposes blood pressure and other data from a blood pressure monitor intended for healthcare applications.
Data Structures | |
struct | st_ble_bls_meas_flags_t |
Blood Pressure Measurement Flags value structure. More... | |
struct | st_ble_bls_meas_measurement_status_t |
Blood Pressure Measurement Measurement Status value structure. More... | |
struct | st_ble_bls_meas_t |
Blood Pressure Measurement value structure. More... | |
struct | st_ble_bls_feat_t |
Blood Pressure Feature value structure. More... | |
Enumerations | |
enum | e_ble_bls_meas_user_id_t { BLE_BLS_MEAS_USER_ID_UNKNOWN_USER = 255 } |
Blood Pressure Measurement User ID enumeration. More... | |
enum | e_ble_bls_meas_pulse_rate_range_t { BLE_BLS_MEAS_PULSE_RATE_RANGE_PULSE_RATE_IS_WITHIN_THE_RANGE = 0, BLE_BLS_MEAS_PULSE_RATE_RANGE_PULSE_RATE_EXCEEDS_UPPER_LIMIT = 1, BLE_BLS_MEAS_PULSE_RATE_RANGE_PULSE_RATE_IS_LESS_THAN_LOWER_LIMIT = 2 } |
Blood Pressure Measurement Pulse Rate Range enumeration. More... | |
enum | e_ble_bls_char_idx_t { BLE_BLS_MEAS_IDX, BLE_BLS_MEAS_CLI_CNFG_IDX, BLE_BLS_INTERMEDIATE_CUFF_PRESSURE_IDX, BLE_BLS_INTERMEDIATE_CUFF_PRESSURE_CLI_CNFG_IDX, BLE_BLS_FEAT_IDX } |
Blood Pressure characteristic Index. More... | |
enum | e_ble_bls_event_t { BLE_BLS_EVENT_MEAS_HDL_VAL_CNF = BLE_SERVS_ATTR_EVENT(BLE_BLS_MEAS_IDX, BLE_SERVS_HDL_VAL_CNF), BLE_BLS_EVENT_MEAS_CLI_CNFG_WRITE_REQ = BLE_SERVS_ATTR_EVENT(BLE_BLS_MEAS_CLI_CNFG_IDX, BLE_SERVS_WRITE_REQ), BLE_BLS_EVENT_MEAS_CLI_CNFG_WRITE_COMP = BLE_SERVS_ATTR_EVENT(BLE_BLS_MEAS_CLI_CNFG_IDX, BLE_SERVS_WRITE_COMP), BLE_BLS_EVENT_MEAS_CLI_CNFG_READ_REQ = BLE_SERVS_ATTR_EVENT(BLE_BLS_MEAS_CLI_CNFG_IDX, BLE_SERVS_READ_REQ), BLE_BLS_EVENT_INTERMEDIATE_CUFF_PRESSURE_CLI_CNFG_WRITE_REQ = BLE_SERVS_ATTR_EVENT(BLE_BLS_INTERMEDIATE_CUFF_PRESSURE_CLI_CNFG_IDX, BLE_SERVS_WRITE_REQ), BLE_BLS_EVENT_INTERMEDIATE_CUFF_PRESSURE_CLI_CNFG_WRITE_COMP = BLE_SERVS_ATTR_EVENT(BLE_BLS_INTERMEDIATE_CUFF_PRESSURE_CLI_CNFG_IDX, BLE_SERVS_WRITE_COMP), BLE_BLS_EVENT_INTERMEDIATE_CUFF_PRESSURE_CLI_CNFG_READ_REQ = BLE_SERVS_ATTR_EVENT(BLE_BLS_INTERMEDIATE_CUFF_PRESSURE_CLI_CNFG_IDX, BLE_SERVS_READ_REQ), BLE_BLS_EVENT_FEAT_READ_REQ = BLE_SERVS_ATTR_EVENT(BLE_BLS_FEAT_IDX, BLE_SERVS_READ_REQ) } |
Blood Pressure event type. More... | |
Functions | |
ble_status_t | R_BLE_BLS_IndicateMeas (uint16_t conn_hdl, const st_ble_bls_meas_t *p_value) |
Send indication of Blood Pressure Measurement characteristic value to the remote device. More... | |
ble_status_t | R_BLE_BLS_SetMeasCliCnfg (uint16_t conn_hdl, const uint16_t *p_value) |
Set Blood Pressure Measurement cli cnfg descriptor value to the local GATT database. More... | |
ble_status_t | R_BLE_BLS_GetMeasCliCnfg (uint16_t conn_hdl, uint16_t *p_value) |
Get Blood Pressure Measurement cli cnfg descriptor value from the local GATT database. More... | |
ble_status_t | R_BLE_BLS_NotifyIntermediateCuffPressure (uint16_t conn_hdl, const st_ble_bls_meas_t *p_value) |
Send notification of Intermediate Cuff Pressure characteristic value to the remote device. More... | |
ble_status_t | R_BLE_BLS_SetIntermediateCuffPressureCliCnfg (uint16_t conn_hdl, const uint16_t *p_value) |
Set Intermediate Cuff Pressure cli cnfg descriptor value to the local GATT database. More... | |
ble_status_t | R_BLE_BLS_GetIntermediateCuffPressureCliCnfg (uint16_t conn_hdl, uint16_t *p_value) |
Get Intermediate Cuff Pressure cli cnfg descriptor value from the local GATT database. More... | |
ble_status_t | R_BLE_BLS_SetFeat (const st_ble_bls_feat_t *p_value) |
Set Blood Pressure Feature characteristic value to the local GATT database. More... | |
ble_status_t | R_BLE_BLS_GetFeat (st_ble_bls_feat_t *p_value) |
Get Blood Pressure Feature characteristic value from the local GATT database. More... | |
ble_status_t | R_BLE_BLS_Init (ble_servs_app_cb_t cb) |
Initialize Blood Pressure service. More... | |
Blood Pressure Measurement Pulse Rate Range enumeration.
enum e_ble_bls_char_idx_t |
Blood Pressure characteristic Index.
enum e_ble_bls_event_t |
Blood Pressure event type.
ble_status_t R_BLE_BLS_IndicateMeas | ( | uint16_t | conn_hdl, |
const st_ble_bls_meas_t * | p_value | ||
) |
Send indication of Blood Pressure Measurement characteristic value to the remote device.
[in] | conn_hdl | Connection handle. |
[in] | p_value | Characteristic value to send. |
ble_status_t R_BLE_BLS_SetMeasCliCnfg | ( | uint16_t | conn_hdl, |
const uint16_t * | p_value | ||
) |
Set Blood Pressure Measurement cli cnfg descriptor value to the local GATT database.
[in] | conn_hdl | Connection handle. |
[in] | p_value | Descriptor value to set. |
ble_status_t R_BLE_BLS_GetMeasCliCnfg | ( | uint16_t | conn_hdl, |
uint16_t * | p_value | ||
) |
Get Blood Pressure Measurement cli cnfg descriptor value from the local GATT database.
[in] | conn_hdl | Connection handle. |
[in] | p_value | Output location for the acquired descriptor value. |
ble_status_t R_BLE_BLS_NotifyIntermediateCuffPressure | ( | uint16_t | conn_hdl, |
const st_ble_bls_meas_t * | p_value | ||
) |
Send notification of Intermediate Cuff Pressure characteristic value to the remote device.
[in] | conn_hdl | Connection handle. |
[in] | p_value | Characteristic value to send. |
ble_status_t R_BLE_BLS_SetIntermediateCuffPressureCliCnfg | ( | uint16_t | conn_hdl, |
const uint16_t * | p_value | ||
) |
Set Intermediate Cuff Pressure cli cnfg descriptor value to the local GATT database.
[in] | conn_hdl | Connection handle. |
[in] | p_value | Descriptor value to set. |
ble_status_t R_BLE_BLS_GetIntermediateCuffPressureCliCnfg | ( | uint16_t | conn_hdl, |
uint16_t * | p_value | ||
) |
Get Intermediate Cuff Pressure cli cnfg descriptor value from the local GATT database.
[in] | conn_hdl | Connection handle. |
[in] | p_value | Output location for the acquired descriptor value. |
ble_status_t R_BLE_BLS_SetFeat | ( | const st_ble_bls_feat_t * | p_value | ) |
Set Blood Pressure Feature characteristic value to the local GATT database.
[in] | p_value | Characteristic value to set. |
ble_status_t R_BLE_BLS_GetFeat | ( | st_ble_bls_feat_t * | p_value | ) |
Get Blood Pressure Feature characteristic value from the local GATT database.
[in] | p_value | Output location for the acquired descriptor value. |
ble_status_t R_BLE_BLS_Init | ( | ble_servs_app_cb_t | cb | ) |