优化血压测试流程补 1933/2
authorpenglei <1624952103@qq.com>
Sat, 5 Jul 2025 01:35:35 +0000 (09:35 +0800)
committerpenglei <1624952103@qq.com>
Sat, 5 Jul 2025 01:35:35 +0000 (09:35 +0800)
code/sdk/drivers/peripheral/bp/service/bp_service.c
code/sdk/drivers/peripheral/bp/service/bp_tcp_server.c

index c2fbad5..a516ec1 100644 (file)
@@ -167,7 +167,7 @@ void bp_stop(void)
 
     uapi_cat1_keep_wakeup(0);
 
-    // uapi_dev_runtime_set_bp_status(0);
+    uapi_dev_runtime_set_bp_status(0);
     do_bp_service_check_msg(BP_SERVICE_CMD_STOP_CHECK);
     uapi_get_timestampe_ss(&end_time);
 
index 6829b63..38d3442 100644 (file)
@@ -2022,10 +2022,10 @@ static void tcp_data_handler(int *data,int len)
         }
     }
 
-    // if(LK_STATUS != 1 && g_listen_sock > 0)
-    // {
-    //     bp_tcp_init();
-    // }
+    if(LK_STATUS != 1 && g_listen_sock > 0)
+    {
+        bp_tcp_init();
+    }
 
     if(tcp_data_cnt >= MAX_CNT)
     {