
8 / 17
2- APSSID Set the AP SSID for the STA, e.g.MyAP:
AT+APSSID=MyAp
3- APENCRY Set the wireless network card security mode to WEP64:
AT+APENCRY=
1
Parameter
:
open
:
0
,
WEP64
:
1
,
WEP128
:
2
4- APKEY Set the wireless network card key to 12345
AT+APKEY=
1
,
1
,
12345
Parameter 1
:
Key format
,
0 means HEX, 1 means ASCII
Parameter 2
:
index: Key index number, 1 to 4 are used for WEP encryption keys, and other encryption
methods are fixed to 0.
Parameter 3
:
wireless key, e.g.
:
12345
5- APNIP Set the ip address and subnet mask
AT+APNIP=
1
,
192.168.1.1
,
255.255.255.0
,
192.168.1.1
,
192.168.1.1
Parameter 1
:
address type: 0 means dynamic allocation using DHCP, 1 means static address
parameter 2
:
ip:192.168.1.1
parameter 3
:
netmask
:
255.255.255.0
parameter 4
:
gateway
:
192.168.1.1
parameter 5
:
dns
:
192.168.1.1
6- PMTF saves the above parameters to spi flash, just start from step 7 with the next boot.
AT+PMTF
7- WJOIN Create wireless network MyAp
AT+WJOIN