TInyGSM + Azure IoT

oliverbru
Posts: 14
Joined: Thu Sep 26, 2019 8:52 am

TInyGSM + Azure IoT

Postby oliverbru » Fri Oct 25, 2019 8:30 pm

Hello,

I am trying to use AzureIoT library => Esp32MQTTClient with TinyGSM on a TTGO TTCALL SIM800.
It works on WIfi but in GSM (2G), SNTP gives an error and crashes.

This line of code gives an error:

Code: Select all

Esp32MQTTClient_Init((const uint8_t *)connectionString, true);

Code: Select all

Info: 
Initializing SNTP

/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/queue.c:1442 (xQueueGenericReceive)- assert failed!
abort() was called at PC 0x400880a9 on core 1

Backtrace: 0x4008b8c0:0x3ffb1d60 0x4008baf1:0x3ffb1d80 0x400880a9:0x3ffb1da0 0x40107c0a:0x3ffb1de0 0x40107db2:0x3ffb1e00 0x400fa204:0x3ffb1e20 0x400fa26d:0x3ffb1e40 0x40101121:0x3ffb1e60 0x40101146:0x3ffb1e80 0x400fa0c7:0x3ffb1ea0 0x400d4fbe:0x3ffb1ec0 0x400d5032:0x3ffb1ee0 0x400d41f2:0x3ffb1f00 0x400d3e2d:0x3ffb1f40 0x400e013b:0x3ffb1fb0 0x400883bd:0x3ffb1fd0

Rebooting...
Does anybody know how to solve this problem ?
I connected the SIM800 to and NTP server ad it works.
But the sntp is still on error.

Kind Regards,

Who is online

Users browsing this forum: Bing [Bot] and 53 guests