Functions | |
sdk_err_t | wechat_service_init (wechat_init_t *p_wechat_init) |
Initialize a WeChat Service instance and add in the DB. More... | |
sdk_err_t | wechat_airsync_data_indicate (uint8_t conn_idx, uint8_t *p_data, uint16_t length) |
WeChat Service Airsync indicate data. More... | |
sdk_err_t | wechat_pedo_measurement_send (uint8_t conn_idx, wechat_pedo_meas_t *p_pedo_meas) |
Send WeChat pedometer measurement information. More... | |
sdk_err_t | wechat_pedo_target_send (uint8_t conn_idx) |
Send WeChat pedometer target value. More... | |
sdk_err_t wechat_airsync_data_indicate | ( | uint8_t | conn_idx, |
uint8_t * | p_data, | ||
uint16_t | length | ||
) |
WeChat Service Airsync indicate data.
[in] | conn_idx | The index of connection. |
[in] | p_data | Pointer to data. |
[in] | length | Length of data. |
sdk_err_t wechat_pedo_measurement_send | ( | uint8_t | conn_idx, |
wechat_pedo_meas_t * | p_pedo_meas | ||
) |
Send WeChat pedometer measurement information.
[in] | conn_idx | The index of connection. |
[in] | p_pedo_meas | Pointer to pedometer measurement. |
sdk_err_t wechat_pedo_target_send | ( | uint8_t | conn_idx | ) |
Send WeChat pedometer target value.
[in] | conn_idx | Connection index. |
sdk_err_t wechat_service_init | ( | wechat_init_t * | p_wechat_init | ) |
Initialize a WeChat Service instance and add in the DB.
[in] | p_wechat_init | Pointer to WeChat init value. |