From 68956d2ea7b8f1efe28410f374f6d05da6f946e9 Mon Sep 17 00:00:00 2001 From: tianjialong Date: Thu, 2 Mar 2023 15:44:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0ip=E6=9F=A5=E8=AF=A2=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=EF=BC=8C=E6=B5=8B=E8=AF=95=E6=97=B6=E5=8F=91=E7=8E=B0?= =?UTF-8?q?=E8=BD=AC=E6=8D=A2=E5=8A=9F=E8=83=BD=E6=9C=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MDK-ARM/LWIP.uvguix.29643 | 2 +- usersrc/atcmd.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MDK-ARM/LWIP.uvguix.29643 b/MDK-ARM/LWIP.uvguix.29643 index 95b4f52..a158cbf 100644 --- a/MDK-ARM/LWIP.uvguix.29643 +++ b/MDK-ARM/LWIP.uvguix.29643 @@ -3707,7 +3707,7 @@ ..\usersrc\atcmd.c 5 61 - 79 + 82 1 0 diff --git a/usersrc/atcmd.c b/usersrc/atcmd.c index b73c401..e120649 100644 --- a/usersrc/atcmd.c +++ b/usersrc/atcmd.c @@ -2,6 +2,7 @@ #include "zport.h" #include +#include "config.h" #define at_processer_rx_buf_size 128 #define at_processer_tx_buf_size 128 @@ -72,8 +73,7 @@ AT_STATUS at_cmd_ip(unsigned char *p, unsigned char len) printf("int_addr:%d\r\n", int_addr.addr); if (*p == '?') { - - printf("AT+OK BLE-NAME\r\n"); + printf("config ip address:%s\r\n", inet_ntoa(config_get()->ip)); } else {