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

Support Sniffer-only mode in esp-wifi #2036

Closed
ProfFan opened this issue Aug 29, 2024 · 3 comments
Closed

Support Sniffer-only mode in esp-wifi #2036

ProfFan opened this issue Aug 29, 2024 · 3 comments
Labels
package:esp-wifi Issues related to the esp-wifi package

Comments

@ProfFan
Copy link
Contributor

ProfFan commented Aug 29, 2024

Rationale: esp_wifi_80211_tx has a lot of restrictions if the device has a Wi-Fi connection, per https://docs.espressif.com/projects/esp-idf/en/stable/esp32s3/api-guides/wifi.html.

Currently the sniffer can only be enabled after AP/STA interface is already configured. It would be better if a dedicated sniffer mode can be supported.

CC @Frostie314159

@SergioGasquez SergioGasquez added the package:esp-wifi Issues related to the esp-wifi package label Sep 2, 2024
@MabezDev
Copy link
Member

Is this actually possible with the available wifi blobs right now?

@Frostie314159
Copy link
Contributor

With the current blobs no. For various reasons, they require an interface to be active.
I did however manage to create a PoC without the blobs, but it's pretty hacky.

@MabezDev
Copy link
Member

Thanks for clarifying! I figured this might be the case. For many reasons we'll probably use the blobs here in esp-wifi for the foreseeable future so I'll close this issue for now. I'd love to see this work out in a 3rd party crate. FYI we just created https://github.com/esp-rs/esp-hal-community to home crates that don't quite belong here, but are also related.

@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:esp-wifi Issues related to the esp-wifi package
Projects
Archived in project
Development

No branches or pull requests

4 participants