
中山市博安通通信技术有限公司
ZHONGSHAN B&T TECHNOLOGYCo., Ltd
Page 10 of 34
Example
# ATWS
#
AP : 2,test-AP,1,WPA/WPA2 AES,-44,2c:3b:44:54:66:77
[ATWS] OK
3.5
ATPA-enable AP mode
ATPA=<ssid>,<pwd>,<chl>,<hidden>[,<max_conn>]
Description
Enable AP mode
Parameter
ssid
:
AP name (add '\' before special characters)
pwd
:
password
chl
:
Channel (1~11)
hidden:
0
:
Don't hide SSID
1
:
hide SSID
max_conn: Maximum number of connections (1 to 3 By default, 3)
Response
Success
[ATPA] OK
Fail
[ATPA] ERROR:<error_code>
Error code
1: The Command format is invalid.
2: Parameter error
3: wifi initialization error
4: An error occurred while enabling AP.
5: wifi mode error (ATPW setting mode)
Example
# ATPW=3
[ATPW] OK
# ATPA="SSID",,11,0 (If the password is blank, there is no password.)
[ATPA] OK
3.6
ATW? -View connection information
ATW?
Description
View the current network connection information (such as IP address and MAC)
Response
<mode>,<SSID>,<chl>,<sec>[,<key_id>],<pwd>,<mac
>,<ip>,<gw> CLIENT : <num>,<mac>
[ATW?] OK
Example
# ATW?
STA,,1,OPEN,,11:22:33:44:55:68,192.168.1.80,192.168
.1.1 [ATW?] OK