2019/12/08 10:09
3/5
WizFi310 Quick Start Guide
Using Serial Command
This section explains how to connect to AP by using serial command. The default value which module will start is
command mode so user can input AT command. If you input the AT commands as below, WizFi310 will connect
to AP and then start TCP server. In the example, AP is set like that. ( SSID : WizFiDemoAP, Security : WAP2, Key :
12345678 )
AT (Sent AT command with 0x0d (Hex of Enter button))
[OK] (response meaning successful execution)
AT+WSET=0,WizFiDemoAP (AT command for setting WiFi association)
[OK]
AT+WSEC=0,,12345678 (AT command for setting WiFi security)
[OK]
AT+WNET=1 (AT command for setting DHCP)
[OK]
AT+WJOIN (AT command executing AP association)
Joining : WizFiDemoAP
Successfully joined : WizFiDemoAP
[Link-Up Event]
IP Addr : 192.168.3.104
Gateway : 192.168.3.1
[OK]
AT+SCON=SO,TSN, , ,5000,1 (AT command for setting TCP Server)
[OK]
[CONNECT 0] (When TCP connection is done, it shows this message)