Go to the documentation of this file.
75 #include "custom_config.h"
83 #define BPS_CONNECTION_MAX 10
84 #define BPS_BP_MEAS_MAX_LEN 20
91 #define BPS_CHAR_MANDATORY 0x018F
92 #define BPS_CHAR_INTM_CUFF_PRESS_SUP 0x0070
93 #define BPS_CHAR_FULL 0x01ff
uint8_t pulse_rate_present
bps_evt_handler_t evt_handler
@ BP_FEATURE_MULTIPLE_BOND_BIT
bps_evt_type_t
Blood Pressure Service event type.
bp_feature_bit
Blood Pressure Feature bits.
bps_ieee_float16_t systolic
void(* bps_evt_handler_t)(uint8_t conn_idx, bps_evt_type_t event)
Blood Pressure Service event handler type.
prf_date_time_t time_stamp
uint8_t time_stamp_present
@ BPS_EVT_READ_BL_PRESSURE_FEATURE
SFLOAT format (IEEE-11073 16-bit FLOAT, defined as a 16-bit value with 12-bit mantissa and 4-bit expo...
bps_ieee_float16_t mean_arterial_pr
bps_ieee_float16_t pulse_rate
Blood Pressure measurement structure.
@ BP_FEATURE_PULSE_RATE_RANGE_BIT
@ BP_FEATURE_BODY_MOVEMENT_BIT
uint16_t sdk_err_t
SDK API result type.
The date and time structure. The packed size is 7 bytes.
sdk_err_t bps_service_init(bps_init_t *p_bps_init)
Initialize a Blood Pressure Service instance and add in the DB.
@ BPS_EVT_BP_MEAS_INDICATION_ENABLED
@ BPS_EVT_INTM_CUFF_PRESS_NTF_ENABLED
@ BPS_EVT_INTM_CUFF_PRESS_NTF_DISABLED
bps_ieee_float16_t diastolic
@ BPS_EVT_BP_MEAS_INDICATION_DISABLED
Profile/Service Utilities API.
@ BP_FEATURE_CUFF_FIT_BIT
Blood Pressure Service init stucture. This contains all option and data needed for initialization of ...
sdk_err_t bps_measurement_send(uint8_t conn_idx, bps_meas_t *p_meas)
Send Blood Pressure Measurement indication.
uint8_t meas_status_present
@ BP_FEATURE_IRREGULAR_PULSE_BIT
@ BP_FEATURE_MEASUREMENT_POSITION_BIT