[GH-ISSUE #696] Question about WIFI_AP_STA #582

Open
opened 2026-02-28 01:25:57 +03:00 by kerem · 14 comments
Owner

Originally created by @laercionit on GitHub (Aug 10, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/696

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?

Originally created by @laercionit on GitHub (Aug 10, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/696 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?
Author
Owner

@tablatronix commented on GitHub (Aug 10, 2018):

What exactly do you mean ?

<!-- gh-comment-id:411939972 --> @tablatronix commented on GitHub (Aug 10, 2018): What exactly do you mean ?
Author
Owner

@laercionit commented on GitHub (Aug 10, 2018):

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.

<!-- gh-comment-id:411947115 --> @laercionit commented on GitHub (Aug 10, 2018): 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.
Author
Owner

@tablatronix commented on GitHub (Aug 10, 2018):

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

This is in development branch

<!-- gh-comment-id:411952068 --> @tablatronix commented on GitHub (Aug 10, 2018): Yes you can either use ondemandwebportal or ondemandconfigportal with non blocking mode This is in development branch
Author
Owner

@rtek1000 commented on GitHub (Nov 19, 2018):

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?

<!-- gh-comment-id:439763243 --> @rtek1000 commented on GitHub (Nov 19, 2018): 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?
Author
Owner

@rtek1000 commented on GitHub (Nov 19, 2018):

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

<!-- gh-comment-id:439764521 --> @rtek1000 commented on GitHub (Nov 19, 2018): 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
Author
Owner

@tablatronix commented on GitHub (Nov 19, 2018):

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

<!-- gh-comment-id:439890930 --> @tablatronix commented on GitHub (Nov 19, 2018): I really have no idea what this issue is about or what people are asking for , wm supports ap and st mode already
Author
Owner

@rtek1000 commented on GitHub (Nov 19, 2018):

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

<!-- gh-comment-id:439912209 --> @rtek1000 commented on GitHub (Nov 19, 2018): Hello, actually supports AP, but how to use the configuration page to set the SSID and password to AP mode?
Author
Owner

@tablatronix commented on GitHub (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

<!-- gh-comment-id:439964111 --> @tablatronix commented on GitHub (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
Author
Owner

@rtek1000 commented on GitHub (Nov 19, 2018):

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.

<!-- gh-comment-id:439972428 --> @rtek1000 commented on GitHub (Nov 19, 2018): 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.
Author
Owner

@tablatronix commented on GitHub (Nov 19, 2018):

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

<!-- gh-comment-id:439974920 --> @tablatronix commented on GitHub (Nov 19, 2018): 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
Author
Owner

@tablatronix commented on GitHub (Nov 19, 2018):

#500
#768

<!-- gh-comment-id:439975258 --> @tablatronix commented on GitHub (Nov 19, 2018): #500 #768
Author
Owner

@rtek1000 commented on GitHub (Nov 19, 2018):

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

Yes, I agree, thank you.

<!-- gh-comment-id:439975861 --> @rtek1000 commented on GitHub (Nov 19, 2018): > wm is more a framework and library than an application, you write your own code to do that stuff Yes, I agree, thank you.
Author
Owner

@rtek1000 commented on GitHub (Nov 24, 2018):

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

<!-- gh-comment-id:441400416 --> @rtek1000 commented on GitHub (Nov 24, 2018): 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
Author
Owner

@tablatronix commented on GitHub (Nov 24, 2018):

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

<!-- gh-comment-id:441403579 --> @tablatronix commented on GitHub (Nov 24, 2018): its pretty trivial with wm, someone just needs to write it, get param, save to eeprom, read eeprom autoconnect(value,pass);
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#582
No description provided.