Skip to content

Add support for async wifi.radio.connect #6000

Open
@terussell85

Description

@terussell85

With the recent introduction of asyncio, it has allowed great simplification of simultaneous code loops for things like animations or playing audio.

However, the interface to wifi.radio.connect is still fully blocking. I might be missing other options, but as far as I can tell, this makes doing things like animations or sounds impossible while wifi connections are in progress. At least for singular integrated chips (not using coprocessors).

Ideally I'd be able to await wifi.radio.connect so that I can release the thread for NeoPixel animations or other items.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions