BeyondRobotix / mavesp8266

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

Separate SSID and PWD for STA mode. #17

Closed dogmaphobic closed 8 years ago

dogmaphobic commented 8 years ago

Adding a separate set of SSID/Password for Station Mode. That way, you can set the pair for station mode to match your existing, external AP but if the ESP module falls back to AP mode, it uses a separate set and doesn't collide with the external AP. Could I have made that sentence any longer?

Version bump to 1.0.8

mzahana commented 8 years ago

Great! I will rebase, try it tomorrow, and give feedback.

Thanks.

dogmaphobic commented 8 years ago

Great! I will rebase, try it tomorrow, and give feedback.

Note the matching changes to QGC: https://github.com/mavlink/qgroundcontrol/pull/3299

mzahana commented 8 years ago

I hope it appears in the daily build of QGC, as I don't build it myself.

mzahana commented 8 years ago

I just tried the latest commits. I changed to STA mode via QGC, restrted ESP. It connects to the router for a very short time, then it falls back to AP mode. Is there special settings i should do to yhe router?

mzahana commented 8 years ago

Have any one tried the STA mode? Is it working flawlessly with you? I am facing issues of fall backs to AP mode, and some times it does not connect to external router at all.

dogmaphobic commented 8 years ago

It's working fine for me but I have only tested with my own router. I would imagine there is quite a bit of variation, especially with regards to authentication, which would have to be investigated. This was only introduced a couple of days ago and as far as I know, there are only 3 of us using it so far. Not exactly a good sampling :)

mzahana commented 8 years ago

Yah, that is expected. What is you router type and settings. I am using this router. It's connected to internet. I am using WPA2-PSK, channel 11 (as the ESP).

mzahana commented 8 years ago

Update: I used another tp-link router, and it worked fine, with no special settings on the router!

mzahana commented 8 years ago

Question: Cane ESP8266 operate in 5Ghz?