Beruflich Dokumente
Kultur Dokumente
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 - =?
set server
AT+CIPSTO timeout(listen wait TCP/IP AT+CIPSTO=<timeout> AT+CIPSTRO? -
time)
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
- - -
- - 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"
- - -
"+IPD,x,y:recv_bytes\
r\n" where x is the
- - connection it's from
and y is the number
of bytes