summaryrefslogtreecommitdiff
path: root/py/builtinimport.c
diff options
context:
space:
mode:
authoriabdalkader <i.abdalkader@gmail.com>2022-10-21 20:51:42 +0200
committerDamien George <damien@micropython.org>2022-11-16 09:46:43 +1100
commitb9c1e4c20555a963ffa173781cb26ffe7fadd446 (patch)
tree73d27272ec723e5f704963597f3c41c7d60857e7 /py/builtinimport.c
parent8a91c719668b9aa652d1c055208a9b04e5c682df (diff)
drivers/ninaw10: Connect to WiFi asynchronously.
Before this patch, WiFi connection was blocking, and could raise exceptions if the connection failed for any reason (including timeouts). This doesn't match the behavior of other WiFi modules, which connect asynchronously, and requires handling of exceptions on connect. This change makes `connect()` work asynchronously by scheduling code to poll connection status, and handle reconnects (if needed), and return immediately without blocking.
Diffstat (limited to 'py/builtinimport.c')
0 files changed, 0 insertions, 0 deletions