E:\Program\TCPTools>curl -X GET "http://192.168.4.1/client?command=scan
{
"Response":{
"TotalPage":1
}
}
E:\Program\TCPTools>curl -X GET "http://192.168.4.1/client?command=scan&page=1"
{
"successful": false,
"data": null
}
使用串口打印
os_printf("pscaninfo->pbss=%d bss=%d\n",pscaninfo->pbss,STAILQ_FIRST(pscaninfo->pbss));
在函数json_scan_cb里,bss是有数值的。在json_send函数里 ,bss的指针缺是0了。这是什么原因?
reconnect
We have a GET request.
<null>
scandone
user_esp_platform_ap_is_changing
current ap id =0
current_router_id is 0
scandone
pscaninfo->pbss=1073681376 bss=1073695040
webserver's 192.168.4.2:49214 disconnect
reconnect
We have a GET request.
&page=1 HTTP/1.1
User-Agent: curl/7.33.0
Host: 192.168.4.1
Accept: */*
pscaninfo->pbss=1073681376 bss=0
webserver's 192.168.4.2:49217 disconnect
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.