From 7f03d5880e6c403b195b31ca3132ef68a6071b54 Mon Sep 17 00:00:00 2001 From: chenyong Date: Wed, 22 Apr 2020 10:12:59 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91sim76xx?= =?UTF-8?q?=20SIM=20=E5=88=9D=E5=A7=8B=E5=8C=96=E6=97=A5=E5=BF=97=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chenyong --- class/sim76xx/at_device_sim76xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/sim76xx/at_device_sim76xx.c b/class/sim76xx/at_device_sim76xx.c index f5fc271..b020a9a 100644 --- a/class/sim76xx/at_device_sim76xx.c +++ b/class/sim76xx/at_device_sim76xx.c @@ -529,7 +529,7 @@ static void sim76xx_init_thread_entry(void *parameter) at_obj_exec_cmd(client, resp, "AT+CPIN?"); if (at_resp_get_line_by_kw(resp, "READY")) { - LOG_D("%s device SIM card detection failed.", device->name); + LOG_D("%s device SIM card detection success.", device->name); break; } LOG_I("\"AT+CPIN\" commands send retry..."); From 75acb37e82d6d9ea65c94fb7b6459eb2e6ada86d Mon Sep 17 00:00:00 2001 From: chenyong Date: Wed, 22 Apr 2020 10:17:34 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E3=80=90=E4=BF=AE=E5=A4=8D=E3=80=91ESP8266?= =?UTF-8?q?=20=E8=8E=B7=E5=8F=96=20DHCP=20=E7=8A=B6=E6=80=81=E6=98=AF?= =?UTF-8?q?=E5=85=A5=E5=8F=82=E7=B1=BB=E5=9E=8B=E9=94=99=E8=AF=AF=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chenyong --- class/esp8266/at_device_esp8266.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/esp8266/at_device_esp8266.c b/class/esp8266/at_device_esp8266.c index 29e09d0..0db5504 100644 --- a/class/esp8266/at_device_esp8266.c +++ b/class/esp8266/at_device_esp8266.c @@ -57,7 +57,7 @@ static void esp8266_get_netdev_info(struct rt_work *work, void *work_data) ip_addr_t ip_addr; rt_uint32_t mac_addr[6] = {0}; rt_uint32_t num = 0; - rt_uint8_t dhcp_stat = 0; + rt_uint32_t dhcp_stat = 0; struct rt_delayed_work *delay_work = (struct rt_delayed_work *)work; struct at_device *device = (struct at_device *)work_data; struct netdev *netdev = device->netdev;