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

Wi-Fi 1 / Wi-Fi 2 / Access Point (IDFGH-13504) #14399

Closed
3 tasks done
diplfranzhoepfinger opened this issue Aug 19, 2024 · 4 comments
Closed
3 tasks done

Wi-Fi 1 / Wi-Fi 2 / Access Point (IDFGH-13504) #14399

diplfranzhoepfinger opened this issue Aug 19, 2024 · 4 comments
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@diplfranzhoepfinger
Copy link
Contributor

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Wi-Fi 1 / Wi-Fi 2 / Access Point

devices from Shelly can connect to 2 Wifi APs

so it is like a dual-Station + AP

how is this possible ?

i know shelly runs Mongoose OS https://mongoose-os.com/ but is this the Reason ?

it seems this runs still on top of ESP-IDF ?

@espressif-bot espressif-bot added the Status: Opened Issue is new label Aug 19, 2024
@github-actions github-actions bot changed the title Wi-Fi 1 / Wi-Fi 2 / Access Point Wi-Fi 1 / Wi-Fi 2 / Access Point (IDFGH-13504) Aug 19, 2024
@MaxwellAlan
Copy link
Collaborator

Hi @diplfranzhoepfinger

Sorry, regarding the issue you mentioned, I might not have fully grasped the point you are concerned about. If possible, could you please provide a specific example for reference?

As for the sta1+sta2+softap mode, which can be supported when h/w have 3 interface( which may include the hw FIFO for pkt tx & rx, h/w MAC register). And also there are some limitations, such as if only have one RF, which means the STA1 STA2 and softap should work in the same channel etc.

Thanks.

@espressif-bot espressif-bot added Status: In Progress Work is in progress and removed Status: Opened Issue is new labels Sep 5, 2024
@diplfranzhoepfinger
Copy link
Contributor Author

my Question was how can shelly do this ? they have no special Chips,
just ESP32 and ESP32C3,
and they make simultaneous sta1+sta2+softap mode

@igrr
Copy link
Member

igrr commented Sep 5, 2024

https://community.shelly.cloud/topic/1246-purpose-of-wi-fi-2-in-shelly-plug-setup-app/

WiFi2 is a fallback for when WiFi 1 cannot be reached. As far as I know, Shelly device will only switch to WiFi2 if WiFi1 is completely unavailable. So they won't hop networks based on signal strength.

So it's not a simultaneous connection to two APs. You can implement the same fallback logic using IDF APIs.

@diplfranzhoepfinger
Copy link
Contributor Author

ahhhhhhhhhhhhh. pure Fallback.
now it makes sense.

@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: In Progress Work is in progress labels Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

4 participants