Sie sind auf Seite 1von 12

Most up to date command listing can be found here.

Commands Description Type Set/Execute Inquiry Test

AT+RST restart the module basic - - -

put module into


AT+GSLP basic AT+GSLP=<millisecs> - -
deep sleep

get frmware
AT+GMR basic AT+GMR - -
version

AT+ CWSAP=
set wif login
AT+CWSAP wif <ssid>,<pwd>,<chl>, AT+ CWSAP? -
credentials <ecn>

AT+CWQAP
AT+CWQAP quit the AP wif AT+CWQAP - =?

AT+CWMODE wif mode wif AT+CWMODE=<mode> AT+CWMODE? AT+CWMO


DE=?
get IP's of devices
AT+CWLIF TCP/IP AT+CWLIF - -
connected to AP

AT+CWLAP list available APs wif AT+CWLAP - -

AT+ CWJAP =<ssid>,<


AT+CWJAP join the AP wif AT+ CWJAP? -
pwd >

AT+CIPUPDATE update frmware TCP/IP AT+CIPUPDATE - -


over network

set server
AT+CIPSTO timeout(listen wait TCP/IP AT+CIPSTO=<timeout> AT+CIPSTRO? -
time)

get the connection TCP/IP


AT+CIPSTATUS AT+ CIPSTATUS - -
status
1)single connection
(+CIPMUX=0)
AT+CIPSTART=
<type>,<addr>,<port>;
start a TCP or UDP AT+CIPSTA
AT+CIPSTART TCP/IP 2) multiple connection -
connection RT=?
(+CIPMUX=1)
AT+CIPSTART=
<id><type>,<addr>,
<port>

AT+CIPSTAMAC set MAC address of wif AT+CIPSTAMAC=<mac> - -


STAtion

set IP address of
AT+CIPSTA wif AT+CIPSTA=<ip> - -
STAtion
AT+ CIPSERVER=
AT+CIPSERVER set as server/listen() TCP/IP - -
<mode>[,<port> ]

1)single
connection(+CIPMUX=
0)
send data over AT+CIPSEND=<length>; - AT+CIPSEN
AT+CIPSEND TCP/IP
connection(id) 2) multiple connection D=?
(+CIPMUX=1)
AT+CIPSEND=
<id>,<length>

set multiple
AT+CIPMUX TCP/IP AT+ CIPMUX=<mode> AT+ CIPMUX? -
connections mode

AT+CIPCLOSE=<id> or AT+CIPCLO
AT+CIPCLOSE close connection(id) TCP/IP -
AT+CIPCLOSE SE=?
set MAC address of wif
AT+CIPAPMAC AT+CIPAPMAC=<mac> - -
softAP

set IP address of
AT+CIPAP wif AT+CIPAP=<ip> - -
softAP

set module baud AT+CIOBAUD=<baud


AT+CIOBAUD basic AT+CIOBAUD? -
rate rate>

list the local IP AT+


AT+CIFSR TCP/IP AT+CIFSR -
address CIFSR=?
received packet
+IPD header, received basic receive only - -
data follows
Parameters Examples Response

- - -

module will sleep


and wake up after
<millisecs>
- -
milliseconds, not all
versions pins are
setup for this.

- - 0018000902-AI03

Connect
to your
router:
AT+CWJA
P="YOUR
ssid, pwd, chl SSID","YO
= channel, URPASSW -
ecn = ORD";
encryption and check
if
connecte
d:
AT+CWJA
P?

- - -

1= Sta, 2= AP, - -
3=both
returns ip
addresses of
all devices
connected to - -
softAP(modul
e as AP or
STA+AP)

- - -

AT+CWJAP="
WifName","
WifPass" - -
MAX 64 bytes
long

automatic
response:"+CIPUPDA
- - TE:<version
found>1\n2\n3\n4\n

automatic query
- - response:"+CIPSTO:<
timeout>

- - -
Connect
to
another
TCP
server,
set
id = 0-4, type multiple
= TCP/UDP, connectio
addr = IP n frst: -
address, AT+CIPM
port= port UX=1;
connect:
AT+CIPST
ART=4,"T
CP","X1.X
2.X3.X4",
9999

automatic query
response:
- - +CIPSTAMAC:<mac>,
ex:AT+CIPSTAMAC="
18:aa:35:97:d4:7b"

automatic query
response:
- - +CIPSTA:<ip>,
ex:AT+CIPSTA="192.1
68.101.108"
turn on
as a TCP
server:
AT+CIPSE
mode 0 to
close server RVER=1,8
mode, mode 888,
check the -
1 to open; self
port = port server IP
address:
AT+CIFSR
=?

send
data:
AT+CIPSE
ND=4,15
- and then -
enter the
data MAX
2048
bytes

0 for single
connection 1 - -
for mutiple
connection

- - -
automatic query
response:
- - +CIPAPMAC:<mac>,
ex:AT+CIPSTAMAC="
18:aa:35:97:d4:7b"

automatic query
response:
- - +CIPAP:<ip>,
ex:AT+CIPAP="192.16
8.101.108"

Baud rate. BAUD->57600 OK,


Factory value AT+CIOBA then garbage since
is 9600. Set to UD=5760 the module has
57600 for 0 switched to the new
Uzebox. baud rate.

- - -
"+IPD,x,y:recv_bytes\
r\n" where x is the
- - connection it's from
and y is the number
of bytes

Das könnte Ihnen auch gefallen