if(0 == s_gsensor_upload_switch)
return;
- mmi_protocol_fzd_action_hengai_sleep_data(s_hengai_sleep_gsensor_data, sizeof(s_hengai_sleep_gsensor_data));
+ mmi_protocol_fzd_action_hengai_gsensor_data(s_hengai_sleep_gsensor_data, sizeof(s_hengai_sleep_gsensor_data));
}
void mmi_heng_ai_gsensor_upload_switch_set(uint8_t value)
}
#if 1
-bool mmi_protocol_fzd_action_hengai_sleep_data(char * file_buf, uint32_t file_size)
+bool mmi_protocol_fzd_action_hengai_gsensor_data(char * file_buf, uint32_t file_size)
{
bool result = false;
MMI_PROTOCOL_FZD_ACTION_ENUM action = MMI_FZD_ACTION_GSENSOR_DATA_UPLOAD;
result = true;
mmi_protocol_fzd_send_without_data(action);
+ uint8_t state_value = 0;
state_value = atoi(next_buff);
PROTOCOL_DEBUG_PRINTF("[@CHENG_DEBUG][%s][%d]: \n", __FUNCTION__, __LINE__);