Set hostname using W5500
-
Hello,
I'm using the ATOMIC PoE Base W5500 (SKU: A091).
In Arduino environment, how can I set the hostname for DHCP request? I don't seem to find any API for that purpose.Thanks.
-
The W5500 Ethernet library for Arduino does not natively support setting a DHCP hostname in its standard implementation. If you're using Ethernet.h, it lacks this functionality. For advanced DHCP options like hostname, consider using the EthernetENC or UIPEthernet library, which offer extended DHCP support. Alternatively, you’d need to modify the DHCP client in the library to include the hostname in the DHCP request packet manually.