eringerli / esp32-aog

Software to controll the tractor from AgOpenGPS
MIT License
28 stars 9 forks source link

Hotspot gets same SSID and Password as network access point after failed connection #1

Open dairytech opened 5 years ago

dairytech commented 5 years ago

After uploading the code I connected to the hotspot, AOG, created by the ESP and entered the SSID and password for my network access point. The ESP failed to connect and is now creates a hotspot with the same SSID and password as my network access point.

Shouldn't the SSID the ESP uses to create a hotspot be different from the SSID of the network access point the user wants to connect it to?

For a tractor that uses multiple ESPs it would seem that each one should have its own name. This name could be the hostname and the hotspot SSID of the module. (Emlid uses this method for their Reach GPS products.) The default name could be something like "New AOG Module". I can imagine using AOG-Steer, AOG-Throttle, AOG-Section, AOG-GPS, etc. That way, if a module fails to connect, it would be easy to find with a mobile phone.

benreu commented 4 years ago

This problem caught me also. A fix would be really appreciated. I had two networks with the same name, and none of them worked, until I shut one of them down.