Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about WIFI_AP_STA #696

Open
laercionit opened this issue Aug 10, 2018 · 14 comments
Open

Question about WIFI_AP_STA #696

laercionit opened this issue Aug 10, 2018 · 14 comments

Comments

@laercionit
Copy link

First of all congratulations on LIB, really did a great job.

I researched a lot, but unfortunately I did not find any information about it.

I would like to keep the project as WIFI_AP_STA.

Is it possible with WifiManager to keep the STA and AP together?

@tablatronix
Copy link
Collaborator

What exactly do you mean ?

@laercionit
Copy link
Author

I apologize if it was not clear.

I wonder if WifiManager has any option to perform the wifi connection as STA and keep the AP mode open. If you do not have access to the wifi router, you could continue to access AP mode without necessarily having to boot the system.

@tablatronix
Copy link
Collaborator

tablatronix commented Aug 10, 2018

Yes you can either use ondemandwebportal or ondemandconfigportal with non blocking mode

This is in development branch

@rtek1000
Copy link

Hello, I also want to congratulate you for the great job, in conjunction with OTA is perfect!

I would like to know if it already has some progress on this because sometimes the location does not have a router, and it is difficult to ask the user to turn their smartphone into an Access Point.

Any predictions for this feature?

@rtek1000
Copy link

I also tested esp-link, it's a great job as well, but I have some issues in making UDP connections, esp-link can provide great ideas, esp-link operates as a configuration page for a router, and can also operate on AP mode.

The esp-link firmware connects a micro-controller to the internet using an ESP8266 Wifi module. It implements a number of features:

-- Transparent bridge between Wifi and serial, useful for debugging or inputting into a uC
-- Flash-programming attached Arduino/AVR microcontrollers and LPC800-series and other ARM microcontrollers via Wifi
-- Built-in stk500v1 programmer for AVR uC's: program using HTTP upload of hex file
-- Outbound REST HTTP requests from the attached micro-controller to the internet
-- MQTT client pub/sub from the attached micro-controller to the internet
-- Serve custom web pages containing data that is dynamically pulled from the attached uC and that contain buttons and fields that are transmitted to the attached uC (feature not fully ready yet)

https://github.com/jeelabs/esp-link

@tablatronix
Copy link
Collaborator

I really have no idea what this issue is about or what people are asking for , wm supports ap and st mode already

@rtek1000
Copy link

Hello, actually supports AP, but how to use the configuration page to set the SSID and password to AP mode?

@tablatronix
Copy link
Collaborator

tablatronix commented Nov 19, 2018

you set it in code, if you want to add custom parameters to allow user to change then you have to add that yourself with custom params and save it then read it and apply it.

wm does not do any saving to flash by default, programmer has to do it if they want to save stuff to flash, we do not decide where memory goes or gets saved

flash, spiffs, sd card etc

@rtek1000
Copy link

Thank you, I was able to identify a problem with the ESP-01 modules that I was testing, they are new, but the 25Q80 memories seem to be operating in a dubious way, I do not know if they are fake 25Q80. So I installed a 25Q64 instead of 25Q80, and I get faster and more stable. I will continue to experiment with this library, as well as esp-link, which already offers the OTA system for the Arduino. Anyway, I appreciate your attention.

@tablatronix
Copy link
Collaborator

We have an ota branch and have been testing ota web upload if you are interested. wm is more a framework and library than an application, you write your own code to do that stuff

@tablatronix
Copy link
Collaborator

#500
#768

@rtek1000
Copy link

wm is more a framework and library than an application, you write your own code to do that stuff

Yes, I agree, thank you.

@rtek1000
Copy link

Hello,

To anyone who might be interested, there is an example code that performs the configuration of the SSID and password for AP mode (with external reset button implementation):

https://github.com/msraynsford/APConfig

@tablatronix
Copy link
Collaborator

its pretty trivial with wm, someone just needs to write it, get param, save to eeprom, read eeprom autoconnect(value,pass);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants