Go to the documentation of this file.
61 #include "custom_config.h"
70 #define WSS_CONNECTION_MAX 10
71 #define WSS_MEAS_VAL_LEN_MAX 15
72 #define WSS_CACHE_MEAS_NUM_MAX 25
73 #define WSS_FEAT_VAL_LEN_MAX 1
74 #define WSS_MEAS_UNSUCCESS 0xFFFF
80 #define WSS_CHAR_FEAT_MANDATORY 0x7F
wss_feature_t
Weight Scale Feature characteristic bit values.
@ WSS_FEAT_HEIGHT_RES_1MM
Weight Scale Service Init variable.
wss_unit_t
WSS unit types.
Weight Scale Service event.
wss_evt_type_t
Weight Scale Service event type.
@ WSS_MEAS_FLAG_USER_ID_PRESENT
wss_height_res_t wss_height_res
wss_mass_res_t wss_mass_res
prf_date_time_t time_stamp
@ WSS_EVT_MEAS_INDICATION_ENABLE
@ WSS_EVT_MEAS_READ_CHARACTERISTIC
@ WSS_EVT_MEAS_INDICATION_CPLT
@ WSS_MEAS_FLAG_DATE_TIME_PRESENT
uint16_t sdk_err_t
SDK API result type.
@ WSS_MEAS_FLAG_UNIT_IMPERIAL
The date and time structure. The packed size is 7 bytes.
sdk_err_t wss_measurement_send(uint8_t conn_idx, wss_meas_val_t *p_meas, uint8_t cache_num)
Send Weight Scale Measurement indication..
@ WSS_EVT_MEAS_INDICATION_DISABLE
wss_height_res_t
WSS Height Measurement resolutions.
wss_meas_flag_bits
Weight Scale Measurement Flags.
@ WSS_FEAT_HEIGHT_RES_10MM
@ WSS_FEAT_HEIGHT_RES_5MM
Profile/Service Utilities API.
@ WSS_MEAS_FLAG_BMI_HEIGHT_PRESENT
wss_evt_handler_t evt_handler
Weight Scale Measurement data.
sdk_err_t wss_service_init(wss_init_t *p_wss_init, uint16_t *p_bcs_start_handle)
Initialize a Weight Scale Service instance and add in the DB.
wss_mass_res_t
WSS Weight Measurement resolutions.
void(* wss_evt_handler_t)(wss_evt_t *p_evt)
Weight Scale Service event handler type.