From: @CHENG <2393524978@qq.com> Date: Sat, 2 Mar 2024 08:11:33 +0000 (+0800) Subject: gengxin X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=13faf41967a8a7ed52770a9a8b950fdb4d913d20;p=mirrors%2FASR3603_Z5.git gengxin --- diff --git a/2.sdk/sdk/gui/lv_watch/lv_apps/health_measure/health_measure.c b/2.sdk/sdk/gui/lv_watch/lv_apps/health_measure/health_measure.c index 1f5a7720..c80420bb 100644 --- a/2.sdk/sdk/gui/lv_watch/lv_apps/health_measure/health_measure.c +++ b/2.sdk/sdk/gui/lv_watch/lv_apps/health_measure/health_measure.c @@ -176,6 +176,14 @@ bool mmi_health_measure_temperature_data_process(float * body_value, float * wri t_body_value = 36.0 + rand() % 4 * 0.1; t_wrist_value = t_body_value - 10.0; +#elif USE_ACNT117 + float t_float_value = 0.0; + + mmi_tsensor_body_value_get(&t_float_value); + t_body_value = 36.0 + t_float_value - (int)t_float_value; + t_wrist_value = t_body_value - 10.0; + //HEALTH_MEASURE_DEBUG_PRINTF("[@CHENG_DEBUG][%s][%d]: %d,%d\n", __FUNCTION__, __LINE__, (uint16_t)(t_body_value*100), (uint16_t)(t_float_value*100)); + #else mmi_tsensor_body_value_get(&t_body_value); t_wrist_value = t_body_value - 10.0; diff --git a/2.sdk/sdk/gui/lv_watch/mmi_protocol/mmi_protocol_api.c b/2.sdk/sdk/gui/lv_watch/mmi_protocol/mmi_protocol_api.c index 4f798567..0e6c8b67 100644 --- a/2.sdk/sdk/gui/lv_watch/mmi_protocol/mmi_protocol_api.c +++ b/2.sdk/sdk/gui/lv_watch/mmi_protocol/mmi_protocol_api.c @@ -211,7 +211,7 @@ static void mmi_protocol_watch_timed_mission_timer_cb(uint32_t para) if(mmi_protocol_watch_location_upload_interval_get() <= (cur_time_stamp - s_watch_timed_location_time_stamp)) { uint32_t current_steps = asl_pedometer_steps_get(); - if(current_steps != s_watch_timed_location_last_steps) + //if(current_steps != s_watch_timed_location_last_steps) { mmi_protocol_action_location(); } diff --git a/2.sdk/sdk/gui/lv_watch/modem/mmi_modem_tcp/mmi_modem_tcp_msg_handler_impl.c b/2.sdk/sdk/gui/lv_watch/modem/mmi_modem_tcp/mmi_modem_tcp_msg_handler_impl.c index 5a5f3936..6402c03f 100644 --- a/2.sdk/sdk/gui/lv_watch/modem/mmi_modem_tcp/mmi_modem_tcp_msg_handler_impl.c +++ b/2.sdk/sdk/gui/lv_watch/modem/mmi_modem_tcp/mmi_modem_tcp_msg_handler_impl.c @@ -121,8 +121,9 @@ void send_tcp_cmdmsg_handler_impl(void *param) printf("[@CHENG_DEBUG][%s][%d]: action=%d,len=%d\n", __FUNCTION__, __LINE__, cmd_type, send_cmdmsg_size); printf("[@CHENG_DEBUG][%d]: str=%s\n", __LINE__, send_cmdmsg_buff); - //printf("[@CHENG_DEBUG][%d]: str=%s\n", __LINE__, send_cmdmsg_buff + 33); - //printf("[@CHENG_DEBUG][%d]: str=%s\n", __LINE__, send_cmdmsg_buff + 59); + //printf("[@CHENG_DEBUG][%d]: str=%s\n", __LINE__, send_cmdmsg_buff + 96); + //printf("[@CHENG_DEBUG][%d]: str=%s\n", __LINE__, send_cmdmsg_buff + 192); + //printf("[@CHENG_DEBUG][%d]: str=%s\n", __LINE__, send_cmdmsg_buff + 288); if((NULL != send_cmdmsg_buff) && (0 < send_cmdmsg_size)) {