-
Notifications
You must be signed in to change notification settings - Fork 15
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
Tracking dependency changes for ESP32-S2 and CP7 #21
Comments
@askpatrickw Since UDP support has been merged in, are we waiting for the CircuitPython_NTP library to be updated? Possibly @jimbobbennett could shine some light on the requirement for NTP in Azure IOT. |
Actually, now I can see where the current time is being used. @jimbobbennett please correct if I'm wrong.
https://github.com/adafruit/Adafruit_CircuitPython_AzureIoT/blob/master/adafruit_azureiot/iotcentral_device.py#L130 So the library doesn't need NTP but all the examples use it. |
I pushed a PR to Tannewt to complete the NTP work he started. not 100% necessary for azure iot library, but the examples will work with it. tannewt/Adafruit_CircuitPython_NTP#1 |
The NTP library is only used in the examples to set the time as that is needed when generating the keys to authenticate with IoT Hub. |
yes the library doesn't need NTP directly, just require time to get current time. but in order to keep current time accurately so |
@askpatrickw MiniMQTT is now compatible with CP6 and ESP32-S2 sockets. Are you going to create a PR to update this library to reflect the new API? |
@brentru woot!! I may not get to it this week, but 100% Yes I will give it a go! |
This seems to be an issue still. Any chance someone could take a peek at this again? |
@slyons, @jimbobbennett I have a PR in progress on this. Lots of samples to test, but for ESP32S2 boards (native_networking) IoT Hub and IoT Central simple samples worked. |
I've been trying out each of the underling dependencies for Adafruit_CircuitPython_AzureIoT on ESP32-S2 builds on a FeatherS2 and here are the known issues so far in dependencies.
This isn't a complete list but once these are closed or have workarounds or code in branches I'll keep trying.
I'm no longer sure this is needed
I see NTP in the samples, but not where any time or rtc is being used in the library so maybe it is not needed.
The text was updated successfully, but these errors were encountered: