PaulStoffregen / Ethernet

Ethernet library for Teensy (Wiznet W5100 / W5200 / W5500)
http://www.pjrc.com/teensy/td_libs_Ethernet.html
129 stars 83 forks source link

Option to set the hostname? #18

Open codmpm opened 6 years ago

codmpm commented 6 years ago

Thank you for that marvelous library.

Is or will there be a possibility to set the hostname of the device? Currently it is wiznetXXXXXX but it would be nice to set a propper hostname according to the application.

Cheers.

PaulStoffregen commented 6 years ago

Probably not going to work on the DHCP code for quite some time, if ever. Sorry, far too many other projects calling for my attention. :(

codmpm commented 6 years ago

Thank you Paul. I'll try to port it over from another library I know. Maybe you have time to double-check the pull request.

Cheers!

exothink commented 6 years ago

edit: #define HOST_NAME "WIZnet" in dhcp.h