TinyGSM
TinyGSM copied to clipboard
how to add ssl/tls to TinyGsmClient object.
I want to connect to secure MQTT broker and that requires me to set the certificates, Earlier I was using Wi-Fi to connect my esp32 to broker with WiFiClientSecure library but now I am planning to achieve the same thing with GSM.
I found this library easy to use and I have setted up the modem quicly, just checking the SSL/TLS part now.
For reference, I am using TTGO SIM7600 module and arduino-esp32 framework.
any help will be much appreciated.
https://github.com/vshymanskyy/TinyGSM/blob/master/examples/HttpsClient/HttpsClient.ino
I have gone through the example code but couldn't figure out where to set the https certificates.
If You still use esp32, You can achieve that with that library https://github.com/govorox/SSLClient Combined with tinygsm and Your mqtt client
Yeah, that works fine. do you know any alternative method/library by any chance?