中山市博安通通信技术有限公司
ZHONGSHAN B&T TECHNOLOGYCo., Ltd
3.7
ATPH-set DHCP mode
[ATPH] OK
[ATPH] ERROR:<error_no>
Mode:1:AP Mode
2:STA mode
Enable:1:DHCP mode
2: Static IP mode
1: The Command format is invalid.
2: Parameter error
1.
By default, both AP and STA are in DHCP mode.
2.
Use ATPE to set static IP addresses for STA mode
3.
Use ATPF to set static IP addresses for AP mode
3.8
ATPE-set DHCP rules in STA mode
ATPE=<ip>[,<gateway>,<mask>]
Set DHCP rules in STA mode
[ATPE] OK
[ATPE] ERROR:<error_no>
ip: The IP address to be set. For example,
192.168.1.100 [gateway]: the ip address of
the gateway.
[mask]:IP mask
1: The Command format is invalid.
2: Parameter error
1. The default IP address is 192.168.1.80.
2. To use static IP, you need to disable DHCP (ATPH = 2,2)
# ATWD
[ATWD] OK
# ATPH=2,2 // Set sta to use static
IP [ATPH] OK
# ATPE=192.168.20.7,192.168.20.1,255.255.255.0 // Set the static IP
address of sta [ATPE] OK
ATPN= B &T-1,test123456