通过串口发送一下数据到串口:
AT+CWMODE=3
AT+CIPSTART="TCP","192.168.0.1",80AT+CIPMODE=1 //透明传输
AT+CIPSEND
GET / HTTP/1.1 //之后按两次回车
即可得到要访问的网页
把上面tcp中的ip地址换成baidu ip:119.75.218.70,然后
GET / HTTP/1.1
AT+RST;重启
AT+CWMODE=3;
AT+CWSAP="SSID","password",信道(1-11),加密等级(0-4);
AT+CWLIF;查看已加入设备IP