GithubHelp home page GithubHelp logo

Dual SSID/Password about mavesp8266 HOT 16 CLOSED

samjcknox avatar samjcknox commented on July 29, 2024
Dual SSID/Password

from mavesp8266.

Comments (16)

mzahana avatar mzahana commented on July 29, 2024

I tried to use the STA mode by changing the default ssid and password to my router's, and changing the default mode to STA. Then, compiled the code and uploaded it to eps. It didn't work. When I use the normal defaults, AP mode, it works. Any ideas on how to solve this?
Thanks.

from mavesp8266.

dogmaphobic avatar dogmaphobic commented on July 29, 2024

I just left a comment on gitter:

I’m still tweaking it. That’s why have not let it loose in the wild. I have not seen the problem you mention but there are a few other things I want done before calling it ready. For instance, you definitelly need two sets of SSID and Password. One for AP and another for STA. When in STA mode and it can’t connect, it automatically reverts to AP mode, currently using the same SSID and Password. Not a good idea if it matches an existing AP.

I'm almost done with the second set of SSID/PWD and I also have a new version of QGC supporting it. It will all be done soon.

from mavesp8266.

mzahana avatar mzahana commented on July 29, 2024

Thanks for the effort. I am waiting to try it out. The QGC will be updated in the daily build?

from mavesp8266.

dogmaphobic avatar dogmaphobic commented on July 29, 2024

There is one PR in already but I have not merged it. I'll wait until I have the additions to MavEsp done before committing it all.

from mavesp8266.

dennisss avatar dennisss commented on July 29, 2024

@mzahana Another thing to note is that changing the default parameters will not necessarily take effect upon upload as the esp will try to first use any settings stored in flash memory from the previous run. If you are trying to modify the parameters, change them after uploading in QGC. QGC should allow you to access all options in the Parameters area regardless of the status of the WiFi Bridge gui

from mavesp8266.

mzahana avatar mzahana commented on July 29, 2024

Can I do that on Pixhawk? I am not using Pixracer.

from mavesp8266.

mzahana avatar mzahana commented on July 29, 2024

Or you mean that I use the PixRacer AP first to set the ESP parameters, then switch to STA mode?

from mavesp8266.

dennisss avatar dennisss commented on July 29, 2024

Yeah, I've only tested on the PixRacer, but currently I think the parameters are only broadcast/settable if you are directly connected to the ESP via WiFi. QGC should auto-connect to it on the same network and then you can do that.

from mavesp8266.

dogmaphobic avatar dogmaphobic commented on July 29, 2024

Can I do that on Pixhawk? I am not using Pixracer.

Yes, I'm using the Pixhawk for all this. I built a little ESP-07 ESP-05 with an external antenna for it.

from mavesp8266.

mzahana avatar mzahana commented on July 29, 2024

Nice. Can you share your ESP-05 setup, and where i can get the parts?

Thanks.

from mavesp8266.

dogmaphobic avatar dogmaphobic commented on July 29, 2024

I took a picture of the before with the idea of putting together a wiki but never got around to it. I got the ESP-05 off eBay. The rest is just stuff I already had (thus the huge connector). The DC-DC step down is to bring the Pixhawk's 5V to the ESP's 3.3V.

esp-05

from mavesp8266.

dogmaphobic avatar dogmaphobic commented on July 29, 2024

Done in #17.

from mavesp8266.

Puav avatar Puav commented on July 29, 2024

Hallo guys,
and thanks for the great work!
I'm trying to use the MAVESP in station mode with different router (even mobile phone AP) but with no success.
The best situation I experienced is: MAVESP try to connect to the router (i got short notification fro the router) and then the connection quickly drop; after about 1 min sometimes MAVESP switch back to AP mode (sometimes does nothing and need to reboot).
Thanks a lot to anybody in advance!
Any help will be greatly appreciated!

from mavesp8266.

Puav avatar Puav commented on July 29, 2024

Hey guys,

after thousands attempt, i finally find what could be the problem.
I succeded to connect to my router and my mobile phone AP just using PixRacer as SSID and pixracer as password. Any other name, password and any possible wifi configuration will not work, then i assume i make some mistake with HTTP command line to set SSID and password.

Any help or suggestion is still very appreciated.
Thanks a lot

from mavesp8266.

dennisss avatar dennisss commented on July 29, 2024

I've had success with http://192.168.4.1/setparameters?mode=1&ssidsta=networkname&pwdsta=thepassword with no cutouts at all.

If your computer is on the same network as the ESP, then you should use QGroundControl to configure the parameters just to be safe (it has a separate GUI tab for the wifi bridge when connected directly via wifi).

Also do note that the maximum supported length of the password or ssid is 16 characters.

from mavesp8266.

Puav avatar Puav commented on July 29, 2024

Thank you Dennis,

i tryied many times with this http address, bt never worked. After many attempts i succeded with single parameter (first SSID, then password and at the end mode=1). I still face some limitations like password lenght; in my case a password longer than 8 characters doesn't work.
I even tryied many times to configure using QGroundControl but i cannot even enable station mode.

from mavesp8266.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.