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
gamblor21
1d0546da31
Made tcp set arguments keywords
2022-06-02 16:31:39 -05:00
gamblor21
40e890323b
Add DNS optional to set IP
2022-06-01 20:13:51 -05:00
gamblor21
4f6d4e2284
Doc fix and add set for DNS
2022-05-31 22:13:18 -05:00
gamblor21
90fe20a153
Adding manual IP address set
2022-05-27 15:33:54 -05:00
Dan Halbert
a01dec1df9
message consolidation and more use of validators
2022-05-19 15:38:37 -04:00
Jeff Epler
78cf0a90af
Make MP_PROPERTY_GETTER / _GETSET fully declare the property
...
This will enable setting data attributes, namely, the section of the
symbol.
2022-05-03 08:48:53 -05:00
Jeff Epler
31da335cac
Introduce, use MP_PROPERTY_GETTER, _GETSET
...
Later, these can be changed in cunning ways to save flash storage.
2022-05-03 08:48:52 -05:00
foamyguy
6a792ab373
update types
2022-03-03 18:47:04 -06:00
foamyguy
c24d16ceae
update wifi module doc types to str
2022-03-01 19:33:26 -06:00
anecdata
5742a12497
input validation consistent with esp-idf is moved to common-hal
2022-02-13 22:14:45 -06:00
anecdata
7884e73089
build-doc fix
2022-02-12 14:31:23 -06:00
anecdata
b559a0ee2a
new kwarg: wifi.radio.start_ap(max_connections=)
2022-02-12 13:34:57 -06:00
anecdata
ffc217e468
consolidate exception strings
2022-02-08 17:55:44 -06:00
anecdata
2c19f4f898
improve channel validation
2022-02-08 17:14:28 -06:00
Michael Himing
a560ef309e
Fix wifi.Radio.ping return type
2022-01-29 21:31:47 +11:00
Michael Himing
f7c05bc384
Fix wifi.Radio.connect return type
2022-01-29 21:17:04 +11:00
anecdata
193e936807
like #5571 , but for AP
2021-11-16 12:21:50 -06:00
anecdata
31d45a3f32
fix old bug that was masking new bug
2021-11-12 16:27:13 -06:00
anecdata
e4f06f69cd
maybe fewer bytes
2021-11-11 23:23:52 -06:00
anecdata
bb8e9ef483
tweak exception messages (re-tested)
2021-11-11 21:54:41 -06:00
anecdata
18f2019300
Set Station MAC address & validate connect SSID len
2021-11-11 17:04:35 -06:00
microDev
b435e7b56a
update wifi monitor
...
- rename loss method to lost
- add method to get queued packet count
Co-authored-by: anecdata <16617689+anecdata@users.noreply.github.com>
2021-11-04 16:21:18 +05:30
microDev
d5f0323ff7
increase wifi channel limit
...
Co-authored-by: anecdata <16617689+anecdata@users.noreply.github.com>
2021-11-04 09:12:11 +05:30
microDev
41dcfda593
update wifi_monitor_make_new and arg parsing
2021-11-02 19:17:48 +05:30
microDev
4e207853f0
rearrange hostname
2021-11-02 12:33:11 +05:30
microDev
95172cf3ce
add monitor class
...
Co-authored-by: anecdata <16617689+anecdata@users.noreply.github.com>
2021-11-02 12:32:09 +05:30
microDev
e2652f8aac
add packet class
2021-10-22 20:19:56 +05:30
microDev
3da86b0ac2
add initial esp32c3 support
2021-09-26 09:39:40 +05:30
Rob Capellini
9002f351b4
Convert more modules to use MP_REGISTER_MODULE
...
Convert _eve, _pew, aesio, alarm, audiopwmio, bitops, camera, canio, dualbank, gnss, i2cperipheral, imagecapture, ipaddress, memorymonitor, sdioio, socketpool, ssl, uheap, ustack, watchdog, and wifi modules to use MP_REGISTER_MODULE.
Related to #5183 .
2021-09-01 00:19:05 -04:00
Jeff Epler
52540a9830
Rename EXTENDED_FIELDS -> MP_TYPE_EXTENDED_FIELDS
2021-07-12 06:57:59 -05:00
Jeff Epler
7302bc09a7
rename the type flag to EXTENDED for consistency
2021-07-09 14:59:37 -05:00
Jeff Epler
317483785f
Fix esp32 build errors
2021-07-07 09:07:00 -05:00
Scott Shawcroft
5c736835de
Fix esp32s2 builds after AP changes
2021-05-07 10:03:02 -07:00
Scott Shawcroft
42f4065c8a
Merge remote-tracking branch 'adafruit/main' into merge_1.13
2021-05-06 11:17:53 -07:00
Scott Shawcroft
3fda0c0a1b
Fix board builds and use MP_ERROR_TEXT in py and extmod
2021-05-05 17:51:52 -07:00
microDev
eebcd2eeaf
remove unsupported authmodes
2021-04-30 22:11:32 +05:30
microDev
6640db9555
make authmode settable
2021-04-30 21:35:02 +05:30
microDev
7c845818b3
Merge branch 'main' into ap
2021-04-30 17:11:22 +05:30
microDev
1b972c51c3
add authmode class
2021-04-29 18:42:36 +05:30
Scott Shawcroft
76033d5115
Merge MicroPython v1.11 into CircuitPython
2021-04-26 15:47:41 -07:00
anecdata
a1e2afadce
AP ip_info, gateway, & subnet
2021-04-26 00:22:51 -05:00
anecdata
f20a53177b
add authmode to start_ap()
2021-04-25 18:20:18 -05:00
anecdata
6f6c0cff81
embellish rtd comments. channel _should_ default to 1 behind the scenes since 0 is out of range, but just to be sure, default channel to 1
2021-04-25 14:30:45 -05:00
anecdata
dc3c47d396
ap channel param
2021-04-25 00:22:08 -05:00
anecdata
de01814cce
call start and stop (oops)
2021-04-24 20:38:04 -05:00
anecdata
354b442867
fixes
2021-04-24 19:36:11 -05:00
anecdata
2e52c0ae62
set all wifi modes; add sta start & sta/ap stop
2021-04-24 16:41:41 -05:00
anecdata
4d267ef644
add get_ipv4_address_ap
2021-04-23 21:44:34 -05:00
anecdata
9da8978d40
more of the same
2021-04-22 23:41:57 -05:00