Search found 4 matches

by sjdh
Wed Jun 10, 2020 4:17 pm
Forum: Programs, Libraries and Tools
Topic: asynchronous wlan scans
Replies: 5
Views: 3647

Re: asynchronous wlan scans

Thanks async def do_scan(): async for result in sta_if.scan(): handle(result) This is what I would love to use. It is not there, but how about your toy example [/quote] t would be cool to see more stuff starting to work that way, and I'd love to see asyncio become a more fundemental part of most of ...
by sjdh
Tue Jun 09, 2020 9:44 pm
Forum: Programs, Libraries and Tools
Topic: asynchronous wlan scans
Replies: 5
Views: 3647

Re: asynchronous wlan scans

Thanks jcw. That looks like the part where the scanning happens. For the esp8266, this ardruino example from shows asynchronous scanning for networks. https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/scan-examples.html // trigger Wi-Fi network scan if (currentMillis - lastScanMillis > SC...
by sjdh
Tue Jun 09, 2020 3:10 pm
Forum: Programs, Libraries and Tools
Topic: asynchronous wlan scans
Replies: 5
Views: 3647

asynchronous wlan scans

Hi I am working on a a WiFi localization project. With the excellent uasyncio module, I log data from several sensors including gps. In addition I want to log wireless network scan's. Is it possible make scan's asynchronously? Now it is blocking the rest of the functions. Also I'd like to have a loo...
by sjdh
Fri Apr 17, 2020 7:48 am
Forum: ESP32 boards
Topic: The SSD1306 library doesn't seem to ship in the ESP32 build
Replies: 6
Views: 4397

Re: The SSD1306 library doesn't seem to ship in the ESP32 build

Thanks for the question and for the answers. I just started using micropython. It's great and well documented. I never ran into any issue, except this one when I started using the daily build for the ESP2866.