vshymanskyy / TinyGSM

A small Arduino library for GSM modules, that just works
GNU Lesser General Public License v3.0
1.91k stars 708 forks source link

http issue thingsboard #747

Open mokerosan opened 10 months ago

mokerosan commented 10 months ago

Expected behavior: Communicate LilyGo-T-Call-SIM800 to thingsboard via http and gsm

Actual behavior: Keeps rebooting and won't start. Here is the monitor output: rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0030,len:1184 load:0x40078000,len:12776 load:0x40080400,len:3032 entry 0x400805e4

Information about the Issue: when using the instance ThingsBoard tb(client); To send data through mqtt it works fine with both gsm and wifi. the problem is when i change the instance ThingsBoardHttp tb(client, TOKEN, THINGSBOARD_SERVER, THINGSBOARD_PORT); this only happens using gsm. in wifi the "ThingsBoardHttp" works correctly

Steps to reproduce the behavior You just have to upload this code and utilities.h to the board and install the following libraries using the ide platformio

I can't understand what kind of conflict the thingsboardhttp instance has with tinygsm, I would really appreciate your help.