Blood Pressure Service
- group BLS
Blood Pressure Service.
The Blood Pressure Service exposes blood pressure and other data related to a noninvasive blood pressure monitor for consumer and professional healthcare applications.
Blood Pressure Service generally makes up a profile with some other services, and it can provide the state of blood pressure.
The default supported feature provided by BLS is the indicate property of the blood pressure measurement characteristic, the read property of the blood pressure feature characteristic, and application developers can modify the feature supported by BLS according to their own requirements. The specific configuration process can be achieved by modifying the file bls_define.h.
Example usage
#define BLS_INTERMEDIATE_CUFF_PRESSURE_SUPPORT 1
Applications shall register the blood pressure service during initialization through the bls_add_service function.
Applications can set the blood pressure feature of BLS through the bls_set_parameter function.
Applications can send the blood pressure measurement value of BLS to the client with an indication through the bls_blood_pressure_measurement_value_indicate function.
Applications can send the intermediate cuff pressure value of BLS to the client with a notification through the bls_intermediate_cuff_pressure_value_notify function.