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

Repeated WiFi Scan calls only returns zero networks after about 15 minutes #631

Open
ctacke opened this issue May 8, 2024 · 3 comments
Open

Comments

@ctacke
Copy link
Contributor

ctacke commented May 8, 2024

The new Meadow.Sample application WiFinder repeatedly calls Scan on the WiFi adapter. On my Project Lab, in my office, this returns a list of about 10 SSIDs. If I let the application just run, it does a scan about every 2.5 seconds. After 10-15 minutes of running, the list of networks that returns from Scan goes from 10 SSIDs to 0. Once it returns 0 networks, it never returns any networks again. If I reset the device it starts returning networks again.

The behavior happens on every run, so is very repeatable. It happens with the internal or external antenna seelcted.

App:
https://github.com/WildernessLabs/Meadow.Samples/tree/develop/Source/MultiPlatform/WiFinder

Firmware Versions
    OS: 1.10.0.2
    Runtime: 1.10.0.2
    Coprocessor: 1.10.0.1
    Protocol: 8
@adrianstevens
Copy link

same behavior on v1.11.0.0?

@halyssonJr halyssonJr self-assigned this May 9, 2024
@ctacke
Copy link
Contributor Author

ctacke commented May 9, 2024

1.11.1.44 is worse. I don't think scanning works at all.

Scanning for networks...
ioctl Esp32Command returned -1. Last error: OperationNotPermitted
ESP Ioctl returned non-success: 1
Error getting access points: Failure

@ctacke ctacke added the p0 label May 9, 2024
@halyssonJr
Copy link

Thanks @ctacke, I am checking what is going on with Scan calls.

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

No branches or pull requests

3 participants