Technical information
Nonvolatile Parameter Database
2-192 AT+i Commands Reference Manual May 31, 2008
DHCP Server Parameters
+iDPSZ - DHCP Server Pool Size
+iDSLT - DHCP Server Lease Time
Syntax: AT+iDPSZ=<range>
Sets number of addresses to be allocated in the IP pool of W24's
DHCP server.
Parameters: range = number of IP addresses in pool.
Command Options:
range=0-255 When range=0 the pool is empty and the DHCP server is inactive.
When range is set to any number between 1 and 255, and the DIP
parameter is defined - the DHCP server becomes active.
Default: 0 - DHCP server is inactive.
Result Code:
I/OK If range is an integer between 0 and 255.
I/ERROR Otherwise.
AT+iDPSZ? Reports the current range value. The reply is followed by I/OK.
AT+iDPSZ=? Returns the message "0-255". The reply is followed by I/OK.
Example:
Syntax: AT+iDSLT=<time>
Defines lease time, in minutes, to be granted by W24's DHCP
server when assigning IP addresses to clients.
Parameters: time = lease time in minutes.
Command Options:
time=0-65535 When time=0 lease time is indefinite. Any other value sets a limit
on the lease time.
Default: 0 - Indefinite lease time.
Result Code:
I/OK If time is an integer between 0 and 65535.
I/ERROR Otherwise.
AT+iDSLT? Reports the current time value. The reply is followed by I/OK.
AT+iDSLT=? Returns the message "0-65535". The reply is followed by I/OK










