AT commands

Dear All;
I’m working with sending SMS with a GSM modem using AT commands .
Can any one tell me how to get the message in the 2nd position in the queue to the 1st position when the first message is deleted?
Is there an At command for that.
Please help me

Shanika
:question:

Not sure what you mean by that :confused: - please explain further.

Do you mean you want to renumber the message?

Hi,

the only solution is to first delete the SMS on position 1 (or to use the command AT+WMGO to overwite the exitsing SMS), then read the SMS on position 2 with AT+CMGR=2, and finally copy the content of the SMS on position 1 with the command AT+CMGW=1.
Otherwise, you can use an Open AT application to emulate such command.