I have a project using SIM868 / SIM800 with ESP32 and Azure IoTHub, wich uses MQTT secured (TLS).
SIM868 has hardware TLS but not work as expected so I want to use software.
There are some ideas I looked arround:
-WifiClientSecure It is a wrapper of WiFiClient using mbedTLS library to get software TLS support.
-ESP32-PPPOS-EXAMPLE wich uses TLS in some part
-[login to view URL] (I think uses own implementation of TLS)
On the arduino side I'm using TinyGSM library, so I need a Library that uses this class (sending client with pointer, Inheritance etc...).
Project behaviour are simple: MQTT user, pass and certificate is setted and GSM module can connect in using SOFTWARE TLS, WITH HARDWARE TLS OFF. You can test if works well with one SIMCOM module (SIM868, SIM800, even other) and test server on [login to view URL] (port 8883) using mosquitto certificate ( [login to view URL] ).
USE OF MBEDTLS IS PREFERED
Hi My name is Vusi and I'm an Electronic Engineer with over 4 years experience developing embedded applications, you can learn more about me from my Freelancer profile or my website at [login to view URL]