I need source code for "lilygo t-sim-a7670e".

famtory2 years ago

Hello.
I have t-sim-a7670e. ( https://www.lilygo.cc/products/t-sim-a7670e )
I found the source code for 7000g. (https://www.traccar.org/forums/topic/lilygor-ttgo-t-sim7000g-esp32-traccar-gps-tracker/)
But It does not work for a7670e.
I found that the tx and rx pins are reversed and changed the tx and rx in the source code.
A message is displayed on the serial monitor, but the error repeats.

+CPIN: READY

SMS DONE

+CGEV: NW REATTACH

+CGEV: EPS PDN ACT 1

*COPN:0,"KT"

*COPN:1,"KT"

PB DONE

*ATREADY: 1

*ISIMAID: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

+CPIN: READY

SMS DONE

PB DONE
AT+SAPBR=3,1,"Contype","GPRS"
AT+SAPBR=3,1,"Contype","GPRS"

ERROR
AT+SAPBR=3,1,"APN","lte.ktfwing.com"
AT+SAPBR=3,1,"APN","lte.ktfwing.com"

ERROR
AT+CGDCONT=1,"IP","lte.ktfwing.com"
AT+CGDCONT=1,"IP","lte.ktfwing.com"

OK
AT+CGATT=1
AT+CGATT=1

OK
AT+CGACT=1,1
AT+CGACT=1,1

+CME ERROR: unknown error

I confirmed that LTE communication works normally by using the example code for 7670e. (https://github.com/Xinyuan-LilyGO/T-A7670X/tree/main/examples)
I don't know Arduino very well. Please tell me what to do.