-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Would be nice to have a WIFI_EVENT_CHANNEL_CHANGE (IDFGH-11400) #12538
Comments
Suppose that at the beginning, A and B establish ESPNOW communication on channel 1. Later, A may connect to the AP on channel 11, and the home channel change to channel 11. |
True, but there are cases where that isn't important, or A can otherhow signal to B that a channel change must happen, or both might be connected to same AP, but the apps want to do something special on channel change, such as blink an LED or write a log. |
Also, I realize from the documentation, |
we will consider to add the |
Is your feature request related to a problem?
Espnow fails to send if the configured peer channel is different than the home channel. But the home channel can change at any moment if wifi is configured as STA or APSTA.
Describe the solution you'd like.
It would be nice if there were a WIFI_EVENT_CHANNEL_CHANGE event, so that one can detect the channel change, and either modify peer infos, or ask the user what to do.
Describe alternatives you've considered.
No response
Additional context.
No response
The text was updated successfully, but these errors were encountered: