Download WizFi210/220 User Manual

Transcript
(6) AT Command example
AT Command examples are described below. In this sample application, the WizFi210
associate to the AP and open the serial-to-wifi channel automatically after reboot.
Description of each command is in the next chapter.
No
1
2
3
4
5
6
7
8
9
10
MCU → WizFi210
WizFi210 → MCU
(AT Command)
(Echo and Result String)
AT+WD
AT+WD
Description
Disassociate
[OK]
AT+WWPA=12345678
AT+WWPA=12345678
Set WPA passphrase
[OK]
AT+NDHCP=1
AT+NDHCP=1
Enable DHCP
[OK]
AT+WAUTO=0,WizFiAP,,0
AT+WAUTO=0,WizFiAP,,0
Set WiFi Configuration
[OK]
AT+NAUTO=1,1,,4000
AT+NAUTO=1,1,,4000
TCP Server Mode(4000)
[OK]
ATC1
AT+XEHT=0
ATC1
[OK]
Auto Connect on next
reboot
AT+XEHT=0
Disable
Hardware Trigger
[OK]
AT+XDUM=1
AT&Y0
AT+XDUM=1
Disable UART Message
[OK]
AT&Y0
Set Default Profile
[OK]
AT&W0
AT&W0
Save Profile
[OK]
Table 14. AT Command Example
WizFi 210 User Manual (WIZnet Co., Ltd.)
20