This section provides a summary of documents related to DHCP that you can refer.
The following table explains the various constants used to extract the DHCP options available in Symbian platform.
Constant |
Description |
Version Supported |
Retrieves the current IP address that the host uses. |
IPv4 and IPv6 |
|
Retrieves the DHCP IP address of the server. |
IPv4 and IPv6 |
|
Retrieves the remaining lease time of the current IP address. |
IPv4 and IPv6 |
|
Releases the current IP address. |
IPv4 and IPv6 |
|
Renews the current lease of the IP address. |
IPv4 and IPv6 |
|
Retrieves raw data from the DHCP messages. |
IPv4 and IPv6 |
|
Retrieves the SIP server address. |
IPv4 and IPv6 |
|
Retrieves the SIP server domain name. |
IPv4 and IPv6 |
|
Retrieves the host name of next available DHCP server. |
IPv4 only |
|
Retrieves the IP address of next available DHCP server. |
IPv4 only |
|
Retrieves the IP address of the TFTP server. |
IPv4 only |
|
Retrieves multiple option code data in raw format. |
IPv4 only |
|
Retrieves the host name of the TFTP server. |
IPv4 only |
To use the DHCP, the following records have to be modified in the Comms Database service table.
Record name |
Description |
Value |
ConfigDaemonName |
Name of the DHCP daemon to be loaded by the Nifman. |
DhcpServ |
IpAddrFromServ |
Determines if an IP address is required from the DHCP server. |
TRUE |
IfNetworks |
The protocols supported by the connection. |
ip for IPv4 networks or ip6 for IPv6 networks |
If the IpAddrFromServ field is set to FALSE, the IPAddr field must be set with a static IP address.
The DHCP daemon in the comms database configures the following DHCP related fields:
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.