This is a paragraph I am extracted in Siemens At Command Set:
AT CPMS Preferred SMS Message Storage
Revision According to GSM 07.05 Version 4.7.0
Test Command
AT CPMS =?
Response
CPMS: (List of supported
Supported
Parameter
Memory from Which Messages Are Read and Deleted
SM Sim Message Storage
ME Mobile Equipment Message Storage
Mt Combination of "ME" and "sm" Storagees
SM Sim Message Storage
ME Mobile Equipment Message Storage
Mt Combination of "ME" and "sm" Storagees
Routing to te is not set (See At CNMI Command with Parameter
SM Sim Message Storage
ME Mobile Equipment Message Storage
Mt Combination of "ME" and "sm" Storagees
Read Command
AT CPMS?
Response
CPMS:
> Parameter Memory from Which Messages Are Read and Deleted Write Command AT CPMS = Parameter See Test Command CPMS: OK / Error / CMS Error NOTES 1) The Mobil Equipment Storage "ME" HAS Capacity for 25 Short Messages 2) The Storage "MT" IS A Combination of "ME" and "SM" Storage. IF "MT" ISCHOSEN INDES <26 Refer to Me "Storage While Indices 26 or Higher Are Associated with the "sm" storage 3) Incoming Short Messages With Message Class 2 (See GSM 03.38) WILL BE Stored in The "SM" Storage ONLY. Therefore, The at ^ smgo: 2 Indication (See AT ^ smgo commnd) Can Occur Without a preceding at ^ smgo: 1 IINDICATION. Some concepts: MEM1: Read and delete the memory space where the SMS is located. MEM2: Write SMS and send SMS where the memory is located. MEM3: The storage location of the received SMS. Specific usage: 1, statement: AT CPMS =? effect: Test command. Used to get a list of storage locations supported by the phone. Returns on my Siemens M55 mobile phone: AT CPMS =? CPMS: ("MT", "SM", "ME"), ("MT", "SM", "ME"), ("MT", "SM", "ME") Representing mobile phone support MT (mobile terminal), SM (SIM card), ME (mobile device) 2, statement: AT CPMS = "MT", "ME", "SIM" Set MEM1 for MT, MEM2 is ME, MEM3 is SIM 3, statement: AT CPMS? effect: Get the current settings. For example, it returns after the setting of the second statement: AT CPMS? CPMS: "MT", 7, 150, "ME", 7, 100, "SM", 0, 50 Indicates that there are 7 text messages in the MT, with a total of 150. There are 7 in the ME, 150 can be stored. 50 can be stored on the SIM card.