17.3. Read Command -- Retrieves the Current Settings Used for Certain Tasks

A read operation retrieves the current settings used by the GSM/GPRS modem or mobile phone for certain tasks. The syntax is:


command?


where command is an AT command. When an AT command is used in the above syntax to perform a read operation, it is called a read command. The read operation is supported by all AT commands that are capable of the set operation.

Here is an example that illustrates how to use a read command. The AT command +CSCA (command name in text: Service Centre Address) is used to set the SMSC (SMS center) address for sending SMS messages. It takes two parameters that specify the SMSC address and type of address. Suppose you set the SMSC address to +85291234567 in Microsoft HyperTerminal, like this:


AT+CSCA="+85291234567",145
OK


After that, if you enter the read command "+CSCA?", the GSM/GPRS modem or mobile phone will return the SMSC address and type of address that you set in the previous step:


AT+CSCA?
+CSCA: "+85291234567",145

OK


Previous Page Page 27 of 65 Next Page

Contents at a Glance (Click Here for Full Table of Contents)

A button for going back to the top of this page