From cdff6c812a7ccc8a7a8d92185e61154ed63aedfe Mon Sep 17 00:00:00 2001 From: OPTOC <9159397+optoc@user.noreply.gitee.com> Date: Mon, 27 Oct 2025 11:47:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DTCP=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E5=90=8EUDP=E6=97=A0=E6=B3=95=E8=BF=9E=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/drivers/sertrf/device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/drivers/sertrf/device.c b/app/drivers/sertrf/device.c index 014b6df..1f6f144 100644 --- a/app/drivers/sertrf/device.c +++ b/app/drivers/sertrf/device.c @@ -157,14 +157,14 @@ static void wifi_event_handler(bool is_connect, sb_data_port_t *port) { SYS_LOG_ERR("wifi pc device choice error"); } - SYS_LOG_INF("wifi connect"); + SYS_LOG_INF("wifi tcp connect"); }else{ - uint8_t res = pc_device_choice_inside(NULL, DATA_PORT_TYPE_WIFI_UDP, DISCONNECT); + uint8_t res = pc_device_choice_inside(NULL, DATA_PORT_TYPE_WIFI_UDP, CONNECT_WIFI_UDP); if(res == DEVICE_PC_ERROR) { SYS_LOG_ERR("wifi pc device choice error"); } - SYS_LOG_INF("wifi disconnect"); + SYS_LOG_INF("wifi tcp disconnect"); } } static void wifi_ap_connect_handler(wifi_ap_connect_status_t status, uint8_t connect_cnt)