kadamski wrote:I thought it's a good idea and tried to do that. LwIP has a support for this feature but enabling this is probably a little bit harder than we would like. I've implemented this on my own version of LwIP
(https://github.com/kadamski/esp-lwip). Currently, the DHCP client on device will sent hostname set to "esp8266-XXXXXX" (where XXXXXX are 3 least significant bytes of mac address) to the server. I'm also thinking about implementing some API to change it from inside of user application.
Unfortunately it's not easy to use - not only you have to compile my liblwip.a (which is not fully test) but you also have to switch eagle_lwip_if.o inside of libmain.a (part of SDK) to my own version. I can provide you with some instructions if someone is interested and would like to test this.
Lets get the party started and +1
[url=https://www.banggood.com/custlink/KvGGhGF4wG[/url]
I like ESP8266 and ESP8285 and ESP32