The Dynamic Host Control Protocol (DHCP) client module is used by a client (a computer or other device) to get an IP address automatically from a remote DHCP server.

This client module supports IPv4 addresses. It can be used alone in an IPv4 system or in the HCC dual TCP/IP stack alongside the DHCP client for IPv6.

When a DHCP-configured client connects to a network, it sends a broadcast query to a DHCP server, requesting necessary information. If the request is valid, the server assigns the device an IP address, a lease (the length of time the allocation is valid), and other IP configuration parameters, such as the subnet mask and the default gateway.

Use of vendor class identifiers is supported, allowing a DHCP client to tell a server their vendor type and configuration. The information is a vendor-specific string, interpreted where possible by the server. Vendors may choose to define specific vendor class identifiers to convey particular configuration or other identification information about a client. For example, the identifier may encode the client’s hardware configuration.

This module is part of the HCC MISRA-compliant TCP/IP stack, as shown in the Networking Overview diagram, and is designed specifically for use with it.

Features
  • Conforms to the HCC Advanced Embedded Framework.
  • Compliant with the HCC MISRA-compliant TCP/IP stack.
  • Supports IPv4 addresses.
  • Supports vendor classes.
  • Designed for integration with both RTOS and non-RTOS based systems.
  • Compliant with RFC 2131 and RFC 2132.
  • Has optional support for Fully Qualified Domain Names (FQDNs).

Networking Overview

Networking Overview