adafruit / Adafruit_MQTT_Library

Arduino library for MQTT support
MIT License
571 stars 292 forks source link

Fixing example for ESP8266 (BSP 2.5.1) #156

Closed brentru closed 5 years ago

brentru commented 5 years ago

ESP8266 BSP 2.5.1's WiFiClientSecure switched to BearSSL as the default (https://github.com/esp8266/Arduino/blob/2.5.1/libraries/ESP8266WiFi/src/WiFiClientSecure.h#L27) and is now compatible with this library again.

Adafruit IO MQTT (Insecure) runs OK with BSP2.5.1, but the secure client breaks and will not connect to Adafruit IO.

Scope of changes:

Successfully tested on a Feather Huzzah ESP8266 w/BSP2.5.1