I think I'm almost there. Just need help to figure out the abort().
#include <TinyGsmClient.h>
#include <PubSubClient.h>
#include <WiFiClientSecure.h>
- I establish LTE-m connection with TinyGsm.
- Configure the MQTT.
- Generated a SAS as MQTT password.
- Make a secure SSL with root certificate WiFiClientSecure.
But when I call mqtt.connect(DiviceID, MQTTUser, MQTTPass)
I get an abort :
assertion "Invalid mbox" failed: file "/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/eip/src/api/tcpip.c", line 374, function: tcpip_send_msg_wait_sem
abort() was called at PC 0x400d80e7 on core 1
The full code is a bit lengthy so let me know if you have experience with this. and i will post it.