0% found this document useful (0 votes)
91 views

Co MM and S Descri Ption Type Set/Exec Ute Inquiry Test Parameters Examples Response

This document summarizes commands for the ESP8266 WiFi microchip module. Some key commands include AT+RST to restart the module, AT+GMR to get the firmware version, AT+CWJAP to join a WiFi access point, AT+CIPSTART to start a TCP/IP connection, and AT+CIPSEND to send data over the connection. The module can function as a WiFi client, access point, or both.

Uploaded by

Marius Paulet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
91 views

Co MM and S Descri Ption Type Set/Exec Ute Inquiry Test Parameters Examples Response

This document summarizes commands for the ESP8266 WiFi microchip module. Some key commands include AT+RST to restart the module, AT+GMR to get the firmware version, AT+CWJAP to join a WiFi access point, AT+CIPSTART to start a TCP/IP connection, and AT+CIPSEND to send data over the connection. The module can function as a WiFi client, access point, or both.

Uploaded by

Marius Paulet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 6

https://github.

com/espressif/esp8266_at/wiki

https://www.youtube.com/watch?v=SsFm2YtfOPA

Co
mm Descri Set/Exec
Type Inquiry Test Parameters Examples Response
and ption ute
s

restart
AT+R
the basic - - - - - -
ST
module

get
AT+G firmwar 0018000902-
basic AT+GMR - - - -
MR e AI03
version

BAUD->57600
Baud rate.
OK, then
set Factory
AT+CI AT+CIOB AT+CI garbage since
module value is AT+CIOBAUD=5
OBAU basic AUD=<ba OBAU - the module
baud 9600. Set to 7600
D ud rate> D? has switched
rate 57600 for
to the new
Uzebox.
baud rate.

AT+C
quit the AT+CWQ AT+CW
WQA wifi - - - -
AP AP QAP=?
P

list
AT+C AT+CWL
availab wifi - - - - -
WLAP AP
le APs

AT+C set wifi wifi AT+ AT+ - ssid, pwd, Connect to your -
WSA login CWSAP= CWSA chl = router:
P credent <ssid>,<p P? channel, ecn AT+CWJAP="Y
ials wd>,<chl> = encryption OURSSID","YO
, <ecn> URPASSWORD"
; and check if
connected:

1
Co
mm Descri Set/Exec
Type Inquiry Test Parameters Examples Response
and ption ute
s

AT+CWJAP?

AT+CWJAP=
AT+
AT+ "WifiName","
AT+C join the CWJAP
wifi CWJAP - WifiPass" - -
WJAP AP =<ssid>,<
? MAX 64
pwd >
bytes long

AT+C AT+CWM AT+C AT+CW


wifi 1= Sta, 2=
WMO wifi ODE=<m WMOD MODE= - -
mode AP, 3=both
DE ode> E? ?

1)single
connectio
n
(+CIPMU
X=0)
AT+CIPS Connect to
TART= another TCP
<type>,<a server, set
start a id = 0-4, type
ddr>,<port multiple
AT+CI TCP or AT+CIP = TCP/UDP,
TCP/ >; 2) connection first:
PSTA UDP - START addr = IP -
IP multiple AT+CIPMUX=1;
RT connec =? address,
connectio connect:
tion port= port
n AT+CIPSTART=
(+CIPMU 4,"TCP","X1.X2.
X=1) X3.X4",9999
AT+CIPS
TART=
<id><type
>,<addr>,
<port>

AT+CI send TCP/ 1)single - AT+CIP - send data: -


PSEN data IP connectio SEND= AT+CIPSEND=4
D over n(+CIPMU ? ,15 and then
connec X=0) enter the data
tion(id) AT+CIPS MAX 2048 bytes
END=<len

2
Co
mm Descri Set/Exec
Type Inquiry Test Parameters Examples Response
and ption ute
s

gth>; 2)
multiple
connectio
n
(+CIPMU
X=1)
AT+CIPS
END=
<id>,<leng
th>

AT+CIPC
AT+CI close LOSE=<id AT+CIP
TCP/
PCLO connec > or - CLOSE - - -
IP
SE tion(id) AT+CIPC =?
LOSE

list the
AT+
AT+CI local IP TCP/ AT+CIFS
- CIFSR= - - -
FSR addres IP R
?
s

get the
AT+CI AT+
connec TCP/
PSTA CIPSTAT - - - - -
tion IP
TUS US
status

turn on as a TCP
AT+ mode 0 to server:
AT+CI set as CIPSERV close server AT+CIPSERVER
TCP/
PSER server/l ER= - - mode, mode =1,8888, check -
IP
VER isten() <mode>[, 1 to open; the self server IP
<port> ] port = port address:
AT+CIFSR=?

AT+CI set TCP/ AT+ AT+ - 0 for single - -


PMUX multipl IP CIPMUX= CIPMU connection 1
e for mutiple

3
Co
mm Descri Set/Exec
Type Inquiry Test Parameters Examples Response
and ption ute
s

connec
tions <mode> X? connection
mode

get IP's returns ip


of addresses of
device all devices
AT+C TCP/ AT+CWLI
s - - connected to - -
WLIF IP F
connec softAP(modu
ted to le as AP or
AP STA+AP)

set
automatic
server
AT+CIPS AT+CI query
AT+CI timeout TCP/
TO=<time PSTRO - - - response:"+CI
PSTO (listen IP
out> ? PSTO:<timeou
wait
t>
time)

automatic
update
response:"+CI
AT+CI firmwar
TCP/ AT+CIPU PUPDATE:<ve
PUPD e over - - - -
IP PDATE rsion
ATE networ
found>1\n2\n3\
k
n4\n

module will
sleep and
put
wake up after
module AT+GSLP
AT+G <millisecs>
into basic =<millisec - - - -
SLP milliseconds,
deep s>
not all versions
sleep
pins are setup
for this.

AT+CI set wifi AT+CIPS - - - - automatic


PSTA MAC TAMAC=< query
MAC addres response:

4
Co
mm Descri Set/Exec
Type Inquiry Test Parameters Examples Response
and ption ute
s

+CIPSTAMAC:
s of <mac>,
STAtio mac> ex:AT+CIPST
n AMAC="18:aa:
35:97:d4:7b"

automatic
query
set
response:
AT+CI MAC AT+CIPA
+CIPAPMAC:<
PAPM addres wifi PMAC=< - - - -
mac>,
AC s of mac>
ex:AT+CIPST
softAP
AMAC="18:aa:
35:97:d4:7b"

automatic
set IP query
addres response:
AT+CI AT+CIPS
s of wifi - - - - +CIPSTA:<ip>,
PSTA TA=<ip>
STAtio ex:AT+CIPST
n A="192.168.10
1.108"

automatic
query
set IP
response:
AT+CI addres AT+CIPA
wifi - - - - +CIPAP:<ip>,
PAP s of P=<ip>
ex:AT+CIPAP
softAP
="192.168.101
.108"

5
Co
mm Descri Set/Exec
Type Inquiry Test Parameters Examples Response
and ption ute
s

receive
"+IPD,x,y:recv
d
_bytes\r\n"
packet
where x is the
header receive
+IPD basic - - - - connection it's
, only
from and y is
receive
the number of
d data
bytes
follows

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy