Jeff Epler
0836abba41
Merge pull request #3720 from tannewt/more_wifi_retry
...
Retry connection when getting NOT_AUTHED
2020-11-24 09:54:54 -06:00
Jeff Epler
dd108b755d
esp32s2: initialize event loop ane netif only once
...
deinitting these seems to cause problems.
2020-11-19 11:36:02 -06:00
Scott Shawcroft
081aec4429
Retry connection when getting NOT_AUTHED
...
I saw it once with a correct password. Retrying may still fail
but at least it'll try first.
2020-11-18 16:39:34 -08:00
Jeff Epler
83d790ad8f
esp32s2: don't delete the event loop
...
.. it seems to make the esp-idf grumpy.
2020-11-18 17:45:42 -06:00
Jeff Epler
0f7081781e
esp32s2: wifi: fix several debug-build errors
...
Closes #3688
With this change, I don't get the ESP_ERROR_CHECK failed repeatedly
running code that imports wifi. (I'm not getting a successful connection
but that's probably my own fault, such as a secrets problem)
2020-11-12 20:40:45 -06:00
Ryan T. Hamilton
e202da4dad
Change comment wording
2020-10-20 15:14:35 -07:00
Ryan T. Hamilton
c58b0adf64
Reset sta_mode and ap_mode flags
2020-10-20 14:49:57 -07:00
Lucian Copeland
66b8559fd4
Change submodule, rework all includes
2020-09-30 11:26:07 -04:00
Scott Shawcroft
0b94638aeb
Changes based on Dan's feedback
2020-09-03 16:32:12 -07:00
Scott Shawcroft
701e80a025
Make socket reads interruptable
2020-08-21 11:00:02 -07:00
Scott Shawcroft
80b15f6b3b
Add error handling w/temp debug logs
2020-08-19 17:51:33 -07:00
Scott Shawcroft
dcc42f6281
Remove debug prints
2020-08-19 14:23:28 -07:00
Scott Shawcroft
eb2c38825e
HTTP works with my adafruit_requests
2020-08-19 14:23:18 -07:00
Scott Shawcroft
7bdd243bf6
Ping works!
2020-08-19 14:22:13 -07:00
Scott Shawcroft
c62ab6e09a
Add ipaddress
2020-08-19 14:22:12 -07:00
Scott Shawcroft
ddcff85fa2
Add debugging. Scanning doesn't crash but returns no results. Need to config station.
2020-08-19 14:22:12 -07:00
Scott Shawcroft
1a6f4e0fe0
Scanning WIP. Need to sort out supervisor memory
2020-08-19 14:22:12 -07:00
Scott Shawcroft
c5b8401a15
First crack at native wifi API
2020-08-19 14:21:59 -07:00