Xinyuan-LilyGO / LilyGO-T-A76XX

LilyGo A7670X A7608X SIM7670G series
MIT License
128 stars 57 forks source link

A7670E module store the same SMS twice when only one is sent #155

Closed jpcasta closed 3 days ago

jpcasta commented 1 month ago

Hello,

When I send 1 SMS to the A7670E module, it stores it twice in 2 different storage entries: Ex: 18:37:57.205 -> 18:37:57.205 -> +CMTI: "SM",3 18:37:57.642 -> 18:37:57.681 -> +CMTI: "SM",4

If I change the value how it receives new messages using the following command: 18:38:12.942 -> AT+CNMI=2,2,0,0,0 18:38:12.942 -> OK Then it still receiving the message twice while I sent it only once: Ex: 18:38:27.654 -> +CMT: "+336xxxxxxxx","","24/10/07,18:38:27+8" 18:38:27.698 -> Test SMS 18:38:28.199 -> 18:38:28.199 -> +CMT: "+336xxxxxxxx","","24/10/07,18:38:27+8" 18:38:28.243 -> Test SMS

Why does this problem occurs? I would like to receive only 1 SMS when I send 1.

Thanks Regards

lewisxhe commented 1 month ago

Please provide the specific version of the module, attach the label on the modem, and the response message of AT+SIMCOMATI

jpcasta commented 1 month ago

1- Specific version of the module: Do you mean the version of the board? If it is the case it is: 2022-7-18 V1.2

2-Label on the modem: A7670E

3-Information returned by AT+SIMCOMATI 06:56:26.219 -> Manufacturer: INCORPORATED 06:56:26.251 -> Model: A7670E-LASE 06:56:26.251 -> Revision: A011B12A7670M7 06:56:26.283 -> A7670M7_B12V02_220613 06:56:26.315 -> QCN: 06:56:26.315 -> IMEI: 860470062753011 06:56:26.347 -> MEID: 06:56:26.347 -> +GCAP: +CGSM,+FCLASS,+DS 06:56:26.393 -> DeviceInfo: 06:56:26.393 -> 06:56:26.393 -> OK

Thanks

lewisxhe commented 1 month ago

Also provide the label on the modem, need to determine the hardware version

jpcasta commented 1 month ago

Sorry, I do not understand what you mean by the label on the modem. Are they the P/N and the SN values? Thanks

lewisxhe commented 1 month ago

PN Number

jpcasta commented 1 month ago

P/N: S2-109ZT-Z313W

lewisxhe commented 1 month ago

Do a simple test and send a text message with only a few characters to see if it will be received twice.

jpcasta commented 1 month ago

It is received twice even when I send a SMS with 1 letter. Thanks

lewisxhe commented 1 month ago

Please follow the documentation and video to upgrade the modem to the latest firmware, and then use the capture log to provide the log to SIMCOM for analysis. https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/main/docs/update_fw.md https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/main/docs/capture_log.md

jpcasta commented 1 month ago

OK but following weather issues here, it could take some days before I do it. I will let you know as soon as I have time to do it. Thanks

jpcasta commented 1 month ago

Hello,

I looked at the procedure and the video to upgrade the firmware but before performing the upgarde, I have some questions regarding the version of the available firmware file.

When I run the AT+SIMCOMATI command I get the following result:

Manufacturer: INCORPORATED Model: A7670E-LASE Revision: A011B12A7670M7 A7670M7_B12V02_220613 QCN: IMEI: 860470062753011 MEID: +GCAP: +CGSM,+FCLASS,+DS DeviceInfo:

The Revision value is: A011B12A7670M7 According the video that means the version of the installed firmware is B12.

However in the A124B01A7670M7_A7670E-LASE_V101240627-latest.rar file provided on github for the A7670E-LASE (No GPS) model the zip file I should use for the upgrade is: A124B01V01A7670M7_A7670E-LASE_V101240627.zip But according the video the version of this firmware would be B01.

Normally I should read a version number greater than B12? AM I wrong reading the firmware version?

Do I need to use this provided file to upgrade the modem firmware or is there another file?

Thanks

lewisxhe commented 1 month ago

This is a new version baseband, so it starts from B01, but it has the prefix A124

jpcasta commented 1 month ago

Hello, I updated successfully le firmware of the modem and now it is receiving the SMS only once.

However when I run the AT+SIMCOMATI command, it does not returm the IMEI value: 09:36:06.995 -> AT+SIMCOMATI

09:36:07.027 -> Manufacturer: SIMCOM INCORPORATED 09:36:07.059 -> Model: A7670E-LASE 09:36:07.091 -> Revision: A124B01A7670M7 09:36:07.123 -> A7670M7_B01V01_240722 09:36:07.123 -> IMEI: 09:36:07.164 -> 09:36:07.164 -> OK 09:36:31.850 ->

And now I can no longer send a SMS!! I guess it is because the IMEI value is missing. Here is what I get when I run the example progran SendSMS

10:17:45.492 -> Online registration successful 10:17:45.492 -> 10:17:45.492 -> Registration Status:1 10:17:46.491 -> Init success, start to send message to +33620857862 10:17:46.491 -> AT+GSN 10:17:46.491 -> AT+GSN 10:17:46.491 -> +CME ERROR: memory failure 10:17:47.162 -> 10:17:47.162 -> PB DONE 10:17:47.482 -> [17620] ### Unhandled: PB DONE 10:17:47.482 -> AT+CMGF=1 10:17:47.482 -> AT+CMGF=1

10:17:47.482 -> OK 10:17:47.482 -> AT+CSCS="GSM" 10:17:47.482 -> AT+CSCS="GSM"

10:17:47.604 -> OK 10:17:47.604 -> AT+CMGS="+336" 10:17:47.604 -> AT+CMGS="+336"

10:17:47.604 -> >Hello from +CME ERROR: memory failure Hello from +CME ERROR: memory failure 10:17:47.604 -> +CMS ERROR:Send sms message fail 10:17:47.648 -> Network timeout

What do I need to do to make it work again, because it is now unusable.

Thanks Regards

lewisxhe commented 1 month ago

The IMEI may be lost due to firmware update. The IMEI is on the label of the modem. Send AT+SIMEI=IMEI number to reset it.

jpcasta commented 1 month ago

Ok Thanks a lot, it works again!! The issue is solved.

Thanks for your help Regards

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 30 days with no activity.