BeyondRobotix / mavesp8266

ESP8266 WiFi Access Point and MAVLink Bridge
Other
182 stars 173 forks source link

STA DNS issue #48

Open tve opened 6 years ago

tve commented 6 years ago

If I don't configure a static IP in STA mode then it becomes impossibnle to locate the mavesp8266 because the MDNS name set contains the last byte of the IP address. Specifically: https://github.com/dogmaphobic/mavesp8266/blob/master/src/main.cpp#L190 This means that find the IP address via DNS I need to know the IP address... One solution would be to add a parameter to set the hostname or the digit appended to the hostname.