-
Notifications
You must be signed in to change notification settings - Fork 16
implement wifmanager and update examples #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't tested this yet, but these are some initial changes I see.
`adafruit_espatcontrol_wifimanager` | ||
================================================================================ | ||
|
||
WiFi Manager for making ESP32 SPI as WiFi much easier |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should change the name to "ESP AT Control" or something similar here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
||
WiFi Manager for making ESP32 SPI as WiFi much easier | ||
|
||
* Author(s): Melissa LeBlanc-Williams, ladyada |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't forget to add your name to this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
""" | ||
A class to help manage the Wifi connection | ||
""" | ||
def __init__(self, esp, secrets, status_pixel, attempts=2): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this needs to be fixed in ESP32SPI too, but it should be: status_pixel=None
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -0,0 +1,216 @@ | |||
# The MIT License (MIT) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a duplicate file and should probably be removed from the commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch
tested with Feather_m4_express and feather huzzah32 |
also tested most functions on particle argon -- not sure if we want to add particle argon examples but I thought it best to get this PR in and released before adding argon specific examples. |
Is this supposed to work with the ESP8266? I haven't tried it, but I'm trying to figure out which combination to try wiring up. |
It should also work with ESP8266, but there will likely be more communication errors and retries. |
Is there firmware for the ESP32? Also, what is the wiring for say a Metro M4 and ESP32? I see the WiFi Co-Proc learning guide, but it has other hardware and I'm not quite sure what the equivalent to the GPIO0 is. |
posted AT firmware file to discord
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this with the localtime example on a Metro M4 + Huzzah32 and it seemed to work fine.
@jerryneedell, what is your confidence level on this? Should somebody else review it too or do you feel good about it? |
I'm confident that it it works OK and have no concerns with merging or releasing it. That said, I'm also happy to give more time for other reviews/ comments. There is no rush. |
Sounds good to me. I'd say let's merge it so people can start using it if they want. |
Updating https://github.com/adafruit/Adafruit_CircuitPython_ESP_ATcontrol to 0.3.0 from 0.2.3: > Merge pull request adafruit/Adafruit_CircuitPython_ESP_ATcontrol#28 from jerryneedell/jerryn_wifi
added support for wifimanager
updated examples