EasyManua.ls Logo

b&t RTL8720D - 3 WIFI Command; ATPW-Set Wifi Mode

Default Icon
34 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
中山市博安通通信技术有限公司
ZHONGSHAN B&T TECHNOLOGYCo., Ltd
Page 8 of 34
DIR:IO direction control
0Input mode
1Output mode
PULLPull down mode
0There is no drop-down mode
1Pull
2down
3Open leak mode
Example
// Read IO
#
ATSG=R,P
A_12
[ATSG]
OK :1
// Output
# ATSG=W,PA_12,1,1,0
[ATSG] OK :1
3.
WIFI command
3.1
ATPW-set wifi mode
ATPW=<mode>
Description
Set wifi mode (Use ATPN and ATPA must match the specified mode)
The connection hotspot must be mode1 or mode3, and the startup AP must be
mode2 or mode3
Parameter
mode:
1 : Station
mode (default)
2 : AP mode
3 : Concurrent mode
Response
Success
[ATPW] OK
Fail
[ATPW] ERROR:<error_no>
Error
Code
1: The parameter format error
2: Parameter error
Example
# ATPW=3
[ATPW] OK