Merge pull request #108 from Lawlieta/chenyong
修改日志显示错误,修改 ESP8266 解析 DHCP 状态入参类型错误
This commit is contained in:
commit
2241aa3f38
|
@ -57,7 +57,7 @@ static void esp8266_get_netdev_info(struct rt_work *work, void *work_data)
|
||||||
ip_addr_t ip_addr;
|
ip_addr_t ip_addr;
|
||||||
rt_uint32_t mac_addr[6] = {0};
|
rt_uint32_t mac_addr[6] = {0};
|
||||||
rt_uint32_t num = 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 rt_delayed_work *delay_work = (struct rt_delayed_work *)work;
|
||||||
struct at_device *device = (struct at_device *)work_data;
|
struct at_device *device = (struct at_device *)work_data;
|
||||||
struct netdev *netdev = device->netdev;
|
struct netdev *netdev = device->netdev;
|
||||||
|
|
|
@ -529,7 +529,7 @@ static void sim76xx_init_thread_entry(void *parameter)
|
||||||
at_obj_exec_cmd(client, resp, "AT+CPIN?");
|
at_obj_exec_cmd(client, resp, "AT+CPIN?");
|
||||||
if (at_resp_get_line_by_kw(resp, "READY"))
|
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;
|
break;
|
||||||
}
|
}
|
||||||
LOG_I("\"AT+CPIN\" commands send retry...");
|
LOG_I("\"AT+CPIN\" commands send retry...");
|
||||||
|
|
Loading…
Reference in New Issue