Open arimukhlas opened 2 years ago
Hm. Can you post an AT log? Quickly skimming your code, it seems like it should work...
Hm. Can you post an AT log? Quickly skimming your code, it seems like it should work...
how to do that (AT log)??
Hm. Can you post an AT log? Quickly skimming your code, it seems like it should work...
how to do that (AT log)??
Add at the top:
#define DUMP_AT_COMMANDS
#ifdef DUMP_AT_COMMANDS
#include <StreamDebugger.h>
StreamDebugger debugger(Serial1, Serial);
TinyGsm modem(debugger);
#else
TinyGsm modem(Serial1);
#endif
[ ] Question or request help
Hi skyy dan team, thanks for creating a very good library
I'm trying to send data to IOT platform demo.thingsboard.io using SIM800L v2 I added procedure to sample sketch from thingsboard library
the procedure use 4 function before send data inside
loop()
modem.waitForNetwork()
modem.isNetworkConnected()
modem.isGprsConnected()
modem.gprsConnect()
if all function fulfilled then send data but if modem error or time out, i restart the modem sim800L
the problem is, after one success loop, when I check
modem.isNetworkConnected()
, the module SIM800L responded DISCONNECT until modem restart, is there any way to stable my procedurethis a small part of my program :
note : I use bidirrectional 3.3V to 5V TTL converter module to communicate Wemos D1 Mini Pro and SIM800L v2 AT-Command is stable using 9600 Baudrate I use 2A charger to power the modem module