
It refers to the message status "stored unsent". It refers to the message status "received read". It refers to the message status "received unread". String that indicates the status of the SMS message. Of the Fields that Appear in the +CMGR Information Responseįirst field of the information response of the +CMGR AT command, Is easy to read text messages via AT commands. Response, let's see two examples that give you some idea of how anĪctual +CMGR information response should look like: We discuss each of the fields that appear in the +CMGR information Only exists in the information response for outgoing SMS messages. Incoming SMS messages and for outgoing SMS messages is slightlyįield only exists in the information response for incoming SMS You can see above, the format of the +CMGR information response for Message_status, address, service_center_address, service_center_address_type, sms_message_body_length] sms_message_body outgoing SMS message), theįormat is: (Optional fields are enclosed in square brackets.) Message storage area for sending out (i.e. The SMS message retrieved is an SMS message that you wrote to the Message_status, address, service_center_time_stamp sms_message_body +CMGR AT command in SMS text mode has the following format: (Optional incoming SMS message), the information response of the The SMS message retrieved is an SMS message received from the SMSĬenter (i.e. Is an SMS message but not of other message types like status reports In the sections that follow, we assume the message to be read Response of the +CMGR AT command is different for different message In SMS text mode, the format of the information The GSM/GPRS modem or mobile phone successfully reads the SMS messageįrom message storage, it will return an information response to theĬomputer / PC. The Information Response of the +CMGR AT Command in SMS Text Mode Is an integer specifying the location of the SMS message to be read Syntax of the +CMGR AT command in SMS text mode is: Message Storage (AT+CPMS)" of this SMS tutorial. Details about the +CPMS AT command can be found in the The +CPMS AT command (command name in text: Preferred Message Message storage area from which SMS messages are read is specified by Unread" status, the status will be changed to "received Using the +CMGR AT command to read an SMS message with the "received Period of the SMS message (available to outgoing SMS messages only). Number stored with the SMS message and the type of the SMSC number. ĭata coding scheme value in the TPDU of the SMS message.Protocol identifier value in the TPDU of the SMS message. Phone number stored in the SMS message header and the type of theĪssociated to the originator/recipient phone number in theĪnd date at which the SMS message arrived at the SMSC (available toįirst octet (1 octet = 8 bits) of the TPDU (Transport Protocol Data Of the SMS message ("received unread", "received SMS text mode, you can retrieve the following information about an Types such as status reports and cell broadcast messages, but we will The message to be retrieved by the AT command +CMGR does not The location of the message toīe read from the message storage area is specified by an index AT command +CMGR (command name in text: Read Message) is used to readĪ message from a message storage area.
