{
uint32_t cur_time_stamp = 0;
- Hal_Rtc_Gettime_Count(&cur_time_stamp);
+ Hal_Rtc_Gettime_Count_Utc(&cur_time_stamp); // Hal_Rtc_Gettime_Count(&cur_time_stamp);
//location
if(mmi_protocol_watch_location_upload_interval_get() <= (cur_time_stamp - s_watch_timed_location_time_stamp))
{
uint32_t cur_time_stamp = 0;
- Hal_Rtc_Gettime_Count(&cur_time_stamp);
+ Hal_Rtc_Gettime_Count_Utc(&cur_time_stamp); // Hal_Rtc_Gettime_Count(&cur_time_stamp);
mmi_watch_location_mission_list_init();
mmi_protocol_action_location();
{
uint32_t cur_time_stamp = 0;
- Hal_Rtc_Gettime_Count(&cur_time_stamp);
+ Hal_Rtc_Gettime_Count_Utc(&cur_time_stamp); // Hal_Rtc_Gettime_Count(&cur_time_stamp);
if(mmi_protocol_watch_heartbeat_action_interval_get() <= (cur_time_stamp - s_watch_heartbeat_action_time_stamp))
{
PROTOCOL_DEBUG_PRINTF("[@CHENG_DEBUG][%s][%d]: cur=%d, stamp=%d\n", __FUNCTION__, __LINE__, cur_time_stamp, s_watch_heartbeat_action_time_stamp);
mmi_protocol_fzd_action_HEARTBEAT();
- Hal_Rtc_Gettime_Count(&s_watch_heartbeat_action_time_stamp);
+ Hal_Rtc_Gettime_Count_Utc(&s_watch_heartbeat_action_time_stamp); // Hal_Rtc_Gettime_Count(&s_watch_heartbeat_action_time_stamp);
uos_timer_create(&s_watch_heartbeat_action_timer_id);
uos_timer_start(s_watch_heartbeat_action_timer_id, MS_TO_TICKS(1000 * 20), 0, mmi_protocol_watch_heartbeat_timer_cb, NULL);