The read command is used to query memory status.
Response syntax:
+CPMS: <mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>,<mem3>,<used3>,<total3>
The read command parameters and their defined values are the following:
- <mem1>
- "MT" – Refers to all message storage areas associated with the modem
- <mem2>
- "MT" – Refers to all message storage areas associated with the modem
- <mem3>
- "MT" – Refers to all message storage areas associated with the modem
- <usedx>
- Integer. The number of messages currently in
<memx>.
- <totalx>
- Integer. The number of messages currently in
<memx>.
The following command example reads the memory storage configurations:
AT+CPMS?
+CPMS: "MT",0,0,"MT",0,0,"MT",0,0
OK