From c4eb446742d3727cd5ee6988bd4dfd9a2d127a09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=A9=AC=5F666?= <13089258+pony-six-hundred-and-sixty-six@user.noreply.gitee.com> Date: Thu, 5 Jun 2025 15:28:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/src/at_device_ml307.c | 42 +++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/bsp/src/at_device_ml307.c b/bsp/src/at_device_ml307.c index 131a51e..e05e648 100644 --- a/bsp/src/at_device_ml307.c +++ b/bsp/src/at_device_ml307.c @@ -2,7 +2,7 @@ * @Author: mbw * @Date: 2024-11-30 15:46:21 * @LastEditors: mbw && 1600520629@qq.com - * @LastEditTime: 2025-06-05 14:38:32 + * @LastEditTime: 2025-06-05 15:28:05 * @FilePath: \ble_bjq_ch303rct6_ml307\bsp\src\at_device_ml307.c * @Description: * @@ -401,25 +401,25 @@ static int ml307_check_link_status(struct at_device *device) return -RT_ERROR; } - if (at_obj_exec_cmd(device->client, resp, "AT+MIPCALL?") < 0) - { - result = -RT_ERROR; - goto __exit; - } - //// 查询拨号状态 - if (at_resp_parse_line_args_by_kw(resp, "+MIPCALL:", "+MIPCALL: %d,%*d,%*s", &link_stat) > 0) - { - if (link_stat == 1) - { - result = RT_EOK; - } - } - else - { - LOG_E("AT+MIPCALL error."); - result = -RT_ERROR; - goto __exit; - } + // if (at_obj_exec_cmd(device->client, resp, "AT+MIPCALL?") < 0) + // { + // result = -RT_ERROR; + // goto __exit; + // } + // //// 查询拨号状态 + // if (at_resp_parse_line_args_by_kw(resp, "+MIPCALL:", "+MIPCALL: %d,%*d,%*s", &link_stat) > 0) + // { + // if (link_stat == 1) + // { + // result = RT_EOK; + // } + // } + // else + // { + // LOG_E("AT+MIPCALL error."); + // result = -RT_ERROR; + // goto __exit; + // } if (at_obj_exec_cmd(device->client, resp, "AT+CGACT?") < 0) { @@ -547,7 +547,7 @@ static void ml307_check_link_status_entry(void *parameter) if (link_status < 0) { rt_thread_mdelay(ML307_LINK_DELAY_TIME); - at_exec_cmd(resp, "AT+MIPCALL=1,1"); + // at_exec_cmd(resp, "AT+MIPCALL=1,1"); continue; } rt_thread_delay(ML307_LINK_DELAY_TIME);