Navigation

    LILYGO

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    SIM7000G: Azure IoT hub / Central

    Technical Discussion
    1
    1
    228
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Postpiet last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB | Contributors