PacketRF DHCP Server
This directory contains the DHCP server implementation used by the PacketRF firmware.
The server is responsible for assigning IPv4 addresses to clients connected to PacketRF network interfaces. It integrates with the lwIP networking stack and uses PacketRF-managed IP pools for address allocation.
Implementation
The implementation is based on the DHCP server originally provided in ESP-IDF by Espressif Systems (dhcpserver.c / dhcpserver.h).
Parts of that implementation were adapted and refactored for use in PacketRF. The code was modified to integrate with:
- the PacketRF networking architecture
- PacketRF IP pool allocation
- lwIP network interfaces
- embedded constraints of the RP2350 platform
The goal of this adaptation is to provide a lightweight DHCP server suitable for embedded radio networking devices.
License
The original DHCP server implementation from Espressif is distributed under the Apache License Version 2.0.
Because this directory contains code derived from that implementation, the files in this directory are also distributed under the Apache License Version 2.0, even though other parts of the PacketRF project may use different licensing terms.
See the individual source files for details.