LilyGO-T-SIM7000G icon indicating copy to clipboard operation
LilyGO-T-SIM7000G copied to clipboard

SIM7000G ok but SIM7070G drops data on LTE-M TCP connections

Open baldvinhansson opened this issue 7 months ago • 1 comments

Dear all.

I have code connecting to the network using LTE-M. I program the ESP32 using Arduino IDE.

Defining my parameters for connecting the modem I use

#define UART_BAUD           9600
#ifdef TINY_GSM_MODEM_SIM7070
	#define PIN_DTR             32
#else
	#define PIN_DTR             25
#endif
#define PIN_TX              27
#define PIN_RX              26
#define PWR_PIN             4

Then setting up the network I use

modem.setNetworkMode(38); // LTE only
modem.setPreferredMode(1); // CAT-M

Using TinyGSM with RX buffer of 1024 bytes

#define TINY_GSM_RX_BUFFER 1024 // Set RX buffer to 1Kb Then connecting to a TCP server using

TinyGsmClient _tcpClient(modem, 0);

Then it will send data packets of various sizes, 20-100 bytes each time and receive response of 2-80 bytes each time.

The problem is that the SIM7000G works flawlessly. It can connect and communicate for days, no problem, ever. The SIM7070G however is unable to communicate without dropping data for any more than (randomly) 3-6 interactions/transactions with the server before data coming from the server to the SIM7070G is lost somewhere in transit.

It is a bit random exactly how many transactions it can do before stopping, but never more than a few.

I have looked through datasheets, schematics (though I'm still not able to find one for the T-SIM7070G) and libraries and I am unable to pinpoint a reasonable explanation as to why the SIM7070G would behave like this. Any hints or help is greatly appreciated.

baldvinhansson avatar Jul 06 '24 12:07 baldvinhansson