![Wiznet WizFi210 Programmer'S Manual Download Page 80](http://html1.mh-extra.com/html/wiznet/wizfi210/wizfi210_programmers-manual_990635080.webp)
WizFi210
Programmers’ Guide
(WIZnet Co., Ltd.)
10-73
10.3. Station Mode and Multi sockets
10.3.1.
Example of commands sequence
Figure 24 Example of commands for Station Mode and Multi sockets
AT
(Sent AT command followed 0x0d)
AT
(AT command echoed back by WizFi210)
[OK]
(Response which means executed successfully)
ATE0
(Sent AT command followed 0x0d, this make echo back be disable)
ATE0
(AT command echoed back by WizFi210)
[OK]
(Response which means executed successfully)
AT+XDUM=0
(
Sent AT command followed 0x0d,
this make Notificaion messages be enable
)
[OK]
(Response)
AT+BDATA=1
(
this make BULK mode be enable, Otherwise use AT+BDATA=0
)
[OK]
AT+WD
(AT command making disassociation from previous AP association)
[OK]
(Response)
AT+NDHCP=1
(AT command making DHCP mode be enable)
[OK]
(Response)
AT+WWPA=12345678
(AT command setting WiFi security)
[OK]
(Response)
AT+WA=WizFiDemoAP
(AT command setting WiFi association information)
IP
SubNet
Gateway
(Response)
192.168.3.104: 255.255.255.0:
192.168.3.1
(Response with IP addr)
[OK]
(Response)
<=
At this point, association is done
.
AT+NCTCP=192.168.3.105,5000
(AT command connecting with a TCP Client Socket)
[CONNECT 0]
(Notification Message from WizFi210 by issuing a command,
AT+XDUM=0
)
[OK]
<=
At this point, a TCP connection is done
.
AT+NCTCP=192.168.3.105,5001
(AT command connecting with a TCP Client Socket)
[CONNECT 1]
(Notification Message from WizFi210)
[OK]
(Response)
<=
At this point, another TCP connection is done
.