Read and script SMS messages

I have the 3G/4G & LTE Base HAT with the Quectel EG25-G module. It is working fine and I am very happy as it’s giving me the functionality for my project. I have been able to connect to the 4G network and I am able to browse the web independently of any WIFI connectivity, as well as generate GPS data. I have a question about SMS messages. I have found the post on scripting sending an SMS message, GitHub - saeedjohar/sixfab-GSM-GPRS. I can not find anything about reading received SMS messages. I would like to know if I can delete SMS messages once I have read them into my system etc and the ability to script them?

Thanks in advance for any help.

Hello,

Glad to know you are happy with the module and Base HAT.

Yes, the only script available is for sending SMS.
The AT commands required for reading the received SMS messages can be found in chapter 9 of the AT command manual.

AT+CMGL is used to list the messages,
AT+CMGR to read a message and
AT+CMGD to delete amessage.
You may use the sendSMS script the read SMS and delete SMS according to your scenario.