增加主动同步时间 1533/2
authorhcj <1224667075@qq.com>
Thu, 19 Dec 2024 07:05:31 +0000 (15:05 +0800)
committerhcj <1224667075@qq.com>
Thu, 19 Dec 2024 07:05:31 +0000 (15:05 +0800)
code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c

index fcb9f97..e81c5b4 100644 (file)
@@ -3744,7 +3744,7 @@ void type2AE4Data(ble_read_data *buffer_handle,uint8_t *buf_cmd,uint8_t *data,ui
 {\r
     uint16_t typeID = buf_cmd[1]*256+buf_cmd[2];\r
 \r
-      WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP,"type2AE4Data typeID:0x%04X\r\n",typeID);\r
+    WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP,"type2AE4Data typeID:0x%04X\r\n",typeID);\r
     switch (typeID) //ID\r
     {\r
         case USER_INFOR_CMD://app下发的获取用户信息\r
@@ -5623,6 +5623,8 @@ static void GetSynDataEndCmd(uint16_t cmd,uint8_t *data,uint16_t len,uint8_t *to
         sendBleData(value,19);\r
         uapi_save_runtime_log(RUNTIME_LOG_BLE_APP_SYN_END);\r
 \r
+        watch_synchronization_time();\r
+\r
         uapi_ble_connect_param_update(BLE_CONNECT_INTERVAL_SLOW);\r
 \r
     }else\r