Co MM and S Descri Ption Type Set/Exec Ute Inquiry Test Parameters Examples Response
Co MM and S Descri Ption Type Set/Exec Ute Inquiry Test Parameters Examples Response
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
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>
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=?
3
Co
mm Descri Set/Exec
Type Inquiry Test Parameters Examples Response
and ption ute
s
connec
tions <mode> X? connection
mode
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.
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