Skip to content

Update for ESP32 #152

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

Merged
merged 4 commits into from
May 17, 2021
Merged

Update for ESP32 #152

merged 4 commits into from
May 17, 2021

Conversation

brentru
Copy link
Member

@brentru brentru commented May 12, 2021

The latest ESP32 Arduino Core (1.0.6 and above) requires a call to SecureWiFiClient.setCACert() for TLS/SSL connections. The secure wifi client in previous versions didn’t require this function to be called in order to establish a connection with Adafruit IO's MQTT server.

This pull request updates the AdafruitIO_ESP32. wifi adapter files to include the root certificate and updated code.

Similar to adafruit/Adafruit_MQTT_Library#192

@brentru brentru requested a review from ladyada May 12, 2021 21:59
@brentru
Copy link
Member Author

brentru commented May 12, 2021

This has been tested with the pubsub example and an Adafruit FunHouse ESP32-S2

@brentru
Copy link
Member Author

brentru commented May 17, 2021

@ladyada Could you review? Thanks!

@brentru brentru merged commit 5742073 into adafruit:master May 17, 2021
@brentru brentru deleted the fix-esp32-cert-issue branch May 17, 2021 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants