diff --git a/README.md b/README.md index 31f377a..1ecc899 100644 --- a/README.md +++ b/README.md @@ -8,5 +8,12 @@ Inquiry Mode will be executed with a ? at the end of the command "AT+CWMODE?" th Test Mode commands will be exicuted with an =? at the end of a command "AT+CWMODE=?" this will return the possible parameters input i.e. 1=Sta, 2=AP, 3=both The commands entered has a at end so do not forget to add a or else there will be no output. +If you are using firmware version >0.92 you will need carriage return and line feed. + + +To play around with the AT commands you can connect the ESP8266 to a 3.3v USB-TTL serial cable or Arduino. You can then communicate with the module using tools +such as screen, picocom or the serial monitor in the Arduino IDE. If you can't seem to get a response from the module, try changing your baud rate; different +versions of the board use different baud rates (9600 and 115200 are most common). + Will add rest Soon ! diff --git a/commands.txt b/commands.txt index 1f0c9ab..274fb2b 100644 --- a/commands.txt +++ b/commands.txt @@ -5,15 +5,30 @@ Commands Description Type Reply AT generic cmd basic OK - - - AT+RST Resets the mod basic Module info - - AT+RST AT+GMR returns the current Fw version basic Fw Version - - - -AT+CWMODE Wifi Mode Set Wifi Mode SET AT+CWMODE= Mode 1=Sta, 2=AP, 3=both AT+CWMODE=2 +AT+CWMODE Set wifi mode Wifi Mode SET AT+CWMODE= mode: 1=Sta, 2=AP, 3=both AT+CWMODE=2 AT+CWLAP Lists all available AP Wifi list of AP AT+CWLAP - AT+CWLAP -AT+CWJAP Joins an Access Point Wifi OK AT+CWJAP=, Your Wifi SSID and Password AT+CWJAP=,<123456789> -AT+CWQAP Quits the Access Point Wifi AT+CWQAP - AT+CWQAP -AT+CWSAP Set Mod Access Point parameters Wifi AT+CWSAP=,, desired SSID,Password, - , channel, encryption -AT+CWLIF Check join device IP Wifi AT+CWLIF - AT+CWLIF -AT+CIPSTATUS get conn status TCP/IP , AT+CIPSTATUS - +AT+CWJAP Joins an Access Point Wifi OK AT+CWJAP=, ssid: SSID to connect to AT+CWJAP="test","123456789" + pwd: password +AT+CWQAP Quits the Access Point Wifi OK AT+CWQAP - AT+CWQAP +AT+CWSAP Set Mod Access Point parameters Wifi AT+CWSAP=,, ssid: SSID to broadcast - + , pwd: passwordchannel + chl: WLAN channel + ecn: encryption + 0=none, 1=WEP, + 2=WPA_PSK, 3=WPA2_PSK, + 4=WPA_WPA2_PSK +AT+CWLIF Check join device IP Wifi AT+CWLIF - - +AT+CIFSR Get current IP address TCP/IP IP address AT+CWFSR - - +AT+CIPSTATUS Get connection status TCP/IP , AT+CIPSTATUS - , +AT+CIPMUX Set multiple connection TCP/IP link is AT+CIPMUX= mode: 0=single,1=multiple AT+CIPMUX=0 + builded connections +AT+CIPSTART Set up a TCP or UDP connection TCP/IP Linked AT+CIPSTART=, type: TCP or UDP AT+CIPSTART="TCP","192.168 + , addr: IP address .1.88",8888 + port: port +AT+CIPSEND Send data TCP/IP > AT+CIPSEND= length: length of AT+CIPSEND=11 + SEND OK > hello world +AT+CIPCLOSE Close a TCP or UDP connection TCP/IP MUX= AT+CIPCLOSE= id: connection id AT+CIPCLOSE=0 Will add rest Soon ! ~