2014/03/13 09:47
7/8
WizFi250 Quick Start Guide
- http://wizwiki.net/wiki/
This picture is the serial message when WizFi250 has set successfully.
Using Serial Command
This section explains how to connect to AP by using serial command.
If the user inputs the AT commands below, WizFi250 will be connected to AP by DHCP and run as TCP
server.
In this example, the settings of AP will be created as below:
( SSID : WizFiDemoAP, Security : WPA2, Key : 12345678 )
AT (Sent AT command with 0x0d (Hex of Enter button))
[OK] (response meaning successful execution)
AT+WSET=0,WizFiDemoAP ,,6 (AT command for setting WiFi association)
[OK]
AT+WSEC=0,WPA2,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)
Exchanging data with a peer system
This section explains how to exchange data between WizFi250 and Peer System.