These are chat archives for esp8266/Arduino

4th
Nov 2018
Benedict Bayer
@BenedictBayer_twitter
Nov 04 2018 17:45

Hi

I'm trying to make a MQTT+TLS with CA verification Sketch for my ESP8266 but I am struggling to combine the WifiClientSecure with PubSubClient. My current Sketch is able to load and verify certificates in a separate connection from my WifiClientSecure client. But not in the connection from the PubSubClient client. How is it possible to have only one connection to the server with CA verification and establishment of the MQTT connection? Is there an example sketch available somewhere?

Best regards
Benedict

liebman
@liebman
Nov 04 2018 18:42
are the device tests, mainly test_http_server and test_http_client, currently working? They are both failing for me. I tried these test_WiFiServer and test_WiFiClient both work so I know the framework is working for me. Ideas?
Develo
@devyte
Nov 04 2018 20:20
No idea. Device tests aren't run regularly, like host tests are, because they require a specialized setup and hardware, so they can beak.
liebman
@liebman
Nov 04 2018 20:22
Thanks - wanted to add tests for the redirect changes I’m working on for HTTPClient. I’ll try to carve out some time to debug them later.
Michael Miller
@Makuna
Nov 04 2018 21:08
is there a reason that the default constructor for SPISettings initializes to non-standard Arduino settings?
esp8266= _clock(1000000), _bitOrder(LSBFIRST), _dataMode(SPI_MODE0)
avr=(4000000, MSBFIRST, SPI_MODE0)