You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently capturing data with a feather M0 wifi (samd21+winc1500) at moderately high rates (17 channels @ 60Hz) and saving it to an SD card. I would like to be able to connect to different wifi networks as they come in and out of range, but currently the scanNetworks and begin functions are taking about 1-2 seconds and only return control to my main loop after completion. To ensure accurate sampling, I have my data collection on an interrupt, and am double buffering data to write to the SD card in the main loop, but double buffering 1-2 seconds of data while I wait for scanNetworks/begin to complete takes a somewhat prohibitive amount of RAM for my application. If there was an async option it would be a huge boon to start a scan/begin, go back to SD card writing and then periodically check whether my network activity had completed.
I would also be happy to contribute my lab's time to this effort if there are any API/style guidelines that I should be aware of.
The text was updated successfully, but these errors were encountered:
Is there any interest/plan to incorporate an asynchronous WiFi.scanNetworks and/or WiFi.begin function similar to https://github.com/me-no-dev/ESPAsyncWebServer#scanning-for-available-wifi-networks into the mainline WiFi101?
I'm currently capturing data with a feather M0 wifi (samd21+winc1500) at moderately high rates (17 channels @ 60Hz) and saving it to an SD card. I would like to be able to connect to different wifi networks as they come in and out of range, but currently the scanNetworks and begin functions are taking about 1-2 seconds and only return control to my main loop after completion. To ensure accurate sampling, I have my data collection on an interrupt, and am double buffering data to write to the SD card in the main loop, but double buffering 1-2 seconds of data while I wait for scanNetworks/begin to complete takes a somewhat prohibitive amount of RAM for my application. If there was an async option it would be a huge boon to start a scan/begin, go back to SD card writing and then periodically check whether my network activity had completed.
I would also be happy to contribute my lab's time to this effort if there are any API/style guidelines that I should be aware of.
The text was updated successfully, but these errors were encountered: