ESP 8266 ESP-01S 常用的AT command

AT+CIPSTATUS                                                             //查循網路連接訊息
AT+CWLAP                                                                    //掃描AP
AT+CWJAP_DEF="<AP name>","<AP password>"    //加入AP
AT+CIFSR                                                                      //check esp8266 IP
AT+CWQAP                                                                  //ap leave

AT+CIPDOMAIN=<domainname>                               //待解析的域名,可支持長度小於64的域名
AT+RESTORE                                                               //restore to factory

AT+CIPSTART="TCP","<domain or ip>",1880           //以TCP的方式與<domain or ip>的1880 port連接
AT+CIPMODE=1                                                          //以通透模式傳送
AT+CIPSEND                                                                //傳送


GET /test?token=admin HTTP/1.1\r\n User-Agent: ESP8266\r\n

+++                                                                                //離開通透模式
AT+CIPCLOSE                                                            //關閉傳輸 








文獻參考:
esp8266 ESP-01S使用 :
https://swf.com.tw/?p=1127

AT command example :
https://www.espressif.com/sites/default/files/documentation/4b-esp8266_at_command_examples_en.pdf

AT command book :
https://www.espressif.com/sites/default/files/documentation/4a-esp8266_at_instruction_set_cn.pdf

留言

這個網誌中的熱門文章

centos7 架設 snort IDS (版本2.9.13)

在debian10 安裝 docker 以及 Logon Tracer