circuitpython/shared-bindings/wifi
Scott Shawcroft 6446010753
Wi-Fi autoconnect and title bar status
This adds support for CIRCUITPY_WIFI_SSID and CIRCUITPY_WIFI_PASSWORD
in `/.env`. When both are defined, CircuitPython will attempt to
connect to the network even when user code isn't running. If the
user code attempts to a network with the same SSID, it will return
immediately. Connecting to another SSID will disconnect from the
auto-connected network. If the user code initiates the connection,
then it will be shutdown after user code exits. (Should match <8
behavior.)

This PR also reworks the default displayio terminal. It now supports
a title bar TileGrid in addition to the (newly renamed) scroll area.
The default title bar is the top row of the display and is positioned
to the right of the Blinka logo when it is enabled. The scroll area
is now below the Blinka logo.

The Wi-Fi auto-connect code now uses the title bar to show its
state including the IP address when connected. It does this through
the "standard" OSC control sequence `ESC ] 0 ; <s> ESC \` where <s>
is the title bar string. This is commonly supported by terminals
so it should work over USB and UART as well.

Related to #6174
2022-06-09 14:55:54 -07:00
..
AuthMode.c add authmode class 2021-04-29 18:42:36 +05:30
AuthMode.h make authmode settable 2021-04-30 21:35:02 +05:30
Monitor.c message consolidation and more use of validators 2022-05-19 15:38:37 -04:00
Monitor.h update wifi monitor 2021-11-04 16:21:18 +05:30
Network.c Make MP_PROPERTY_GETTER / _GETSET fully declare the property 2022-05-03 08:48:53 -05:00
Network.h Adding authmode keyword 2021-01-06 23:52:30 +01:00
Packet.c add packet class 2021-10-22 20:19:56 +05:30
Packet.h add packet class 2021-10-22 20:19:56 +05:30
Radio.c Wi-Fi autoconnect and title bar status 2022-06-09 14:55:54 -07:00
Radio.h Wi-Fi autoconnect and title bar status 2022-06-09 14:55:54 -07:00
ScannedNetworks.c Rename EXTENDED_FIELDS -> MP_TYPE_EXTENDED_FIELDS 2021-07-12 06:57:59 -05:00
ScannedNetworks.h Scanning WIP. Need to sort out supervisor memory 2020-08-19 14:22:12 -07:00
__init__.c Wi-Fi autoconnect and title bar status 2022-06-09 14:55:54 -07:00
__init__.h Wi-Fi autoconnect and title bar status 2022-06-09 14:55:54 -07:00