Functions | |
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. More... | |
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.. More... | |
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..
[in] | conn_idx | Connection index. |
[in] | p_meas | Pointer to weight scale measurement data. |
[in] | cache_num | The number of measurement caches. |
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.
[in] | p_wss_init | Pointer to WSS Service initialization variable. |
[in] | p_bcs_start_handle | Pointer to the included service(BCS) start handle. |