EthernetENC icon indicating copy to clipboard operation
EthernetENC copied to clipboard

Request setting custom hostName

Open DRSDavidSoft opened this issue 1 year ago • 1 comments

Hi there, currently the hostname is hardcoded to ENC28J + the last three hex digits of the MAC address:

https://github.com/JAndrassy/EthernetENC/blame/master/src/Dhcp.cpp#L195-L201

I was wondering if it could be possible to set it to a custom value? Perhaps something akin to this PR that is for WIZnet's Ethernet.h? https://github.com/arduino-libraries/Ethernet/pull/77

Great work BTW, I'm very impressed by how smooth this chip works. I didn't expect it to perform this good, so I appreciate your great library!

DRSDavidSoft avatar May 08 '23 15:05 DRSDavidSoft