Commit Graph

78 Commits

Author SHA1 Message Date
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
anecdata 632cebafc6 fix comment (stub fail) 2021-04-22 23:33:33 -05:00
anecdata 3544d4e221 .start_ap() & .mac_address_ap 2021-04-22 22:57:07 -05:00
microDev a52eb88031
run code formatting script 2021-03-15 19:27:36 +05:30
anecdata 8febdee264 Rename to match WIFI_REASON. Also include specific error code in "Unknown failure" Exception. 2021-01-13 23:47:23 -06:00
anecdata d1249fbe47 Include all reason codes. 2021-01-13 23:46:52 -06:00
BennyE 66d87782be Adding authmode keyword 2021-01-06 23:52:30 +01:00
BennyE 210c0ec89c add country(code) to wifi network objects) 2020-12-13 13:32:12 +01:00
Dan Halbert 169b487509 Include wifi.radio singleton in gc 2020-12-07 11:07:56 -05:00
Dan Halbert 2f0e676fcb update doc per review 2020-12-03 22:06:02 -05:00
Dan Halbert 57fa6bece8 allow radio.enabled to be settable 2020-12-03 21:27:35 -05:00