copercini
copercini
probably your message has a problem with json formatting
Sorry for the late answer, it's sending `Hello world 1` as message that isn't JSON formatted you can fix it changing [this line](https://github.com/copercini/esp32-iot-examples/blob/master/ESP32_aws_iot/ESP32_aws_iot.ino#L163) to `snprintf (msg, 75, "{\"Hello world\":\"#%ld\"}", value);`
This code was initially designed for axTLS, so it has different APIs of BearSSL, but you can replace it using: `setTrustAnchors` and `setRSACert` Like in this example: https://github.com/esp8266/Arduino/blob/da6ec83b5fdbd5b02f04cf143dcf8e158a8cfd36/libraries/ESP8266WiFi/examples/BearSSL_ServerClientCert/BearSSL_ServerClientCert.ino
@clementlefevre Convert from PEM to DER has the intent of use the less possible memory, but you can hardcode it instead uploads to SPIFFS, like this other example: https://github.com/copercini/esp8266-aws_iot/blob/master/examples/MQTT_x509_bin/MQTT_x509_bin.ino
@junym there is a note on AWS site for port 443: `Clients wishing to connect using MQTT with X.509 Client Certificate authentication on port 443 must implement the Application Layer...
I am most hopeful on ESP32, which I have AWS iot running on arduino IDE without the heap problem (will release the code soon).
For ESP32 here is a working example with AWS iot: https://github.com/copercini/esp32-iot-examples/blob/master/ESP32_aws_iot/ESP32_aws_iot.ino
@wordyallen please check it now, should works!
It's possible to do it calling `WiFi.enableIpV6();` I usually use it in `ARDUINO_EVENT_WIFI_STA_CONNECTED` event, but it should work from other places
@lbernstone Thanks for your reply, it's a bit weird because using Wi-Fi in the exactly same sdkconfig it's able to get at least a local IPV6, and event `ARDUINO_EVENT_WIFI_STA_GOT_IP6` is...