WE866E4-P AT Commands Reference Guide
80572ST10887A Rev. 0.0
55
2018-02-16
PRELIMINAR
Y
7.2.3 IP Configuration in AP mode
This command is used to set the IPv4 start address, IPv4 range and lease time for an Ap that
is required to create a Network. Prior to issuing this command, the user is required to issue
the initialize NCM command.
Command Syntax
AT+WNAPIPC=<WHANDLE>,<IP Start Address>,<IP Range Address>,<Lease
Time>
Parameter Description
, describes the IP Configuration parameters.
Table 89 Get AP Configuration Synchronous Response
Responses
Remarks
OK
Success.
ERROR
If parameter is not valid.
Table 90 IP Configuration Parameters
Parameters Mandatory/Optional
Value
Description
WHANDLE Mandatory
Value range:
0,1
Format:
Integer
Default value:
0
It specifies the return value from
AT+WNI=1 command.
The user is required to be in AP mode
while issuing this command.
IP Start
Address
Mandatory
Value range:
7-32
Format:
Integer
Default value:
0.0.0.0
It specifies the starting of the IPV4 address
allocated to connected stations when
connected to an AP.
IP Range
Address
Mandatory
Value range:
7-32
Format:
Integer
Default value:
0.0.0.0
Unit:
N/A
It specifies the maximum range an AP
allocates for stations connected to its
network.
Lease Time Mandatory
Value range:
1-4294967295
Format:
Integer
Default value:
86400000
Unit:
N/A
It specifies the lease time for DHCP
Server.