background image

MP 700 Series GPS AT Command Reference 

78 

2130309 

+CMGF=<n> 

+CMGF? 

Select SMS message format 

Specifies the input and output format of messages to use. 

<n>

 indicates the 

format of messages used with send, list, read and write commands and 
unsolicited result codes resulting from received messages. 

There are two available formats for text messages: 

• 

<n>=0

 specifies PDU (Protocol Description Unit) mode, in which the 

complete SMS message, including all header information, is passed as a 
binary string.. 

• 

<n>=1 

specifies text mode, where the headers and body of the messages 

are given as separate parameters. 

Text mode is an encoding of the bit stream represented by PDU mode. See 

+CMGC

 (page 77) for information on sending messages. 

+CMGF?

 returns the current setting. 

+CMGL 
[=<status>] 

List SMS messages 

Lists messages of the specified 

<status> 

from the message store. If 

<status>

 is 

omitted, the command lists all messages (same as 

<status>=4

). 

The format of the returned messages depends on whether the modem has been 
set to PDU or text mode (see 

+CMGF

, page 78): 

• 

In PDU mode, returned messages appear in the form: 

+CMGL: <index>,<status>,<alpha>, 

<length><CR><LF> 

<pdu data> 

+CMGL: <index>,<status>,<alpha>, 

<length><CR><LF> 

<pdu data> 

etc. 

• 

In text mode, returned messages appear in the form: 

+CMGL: <index>,<stat>,<oa/da>,<alpha>, 

<scts>,<tooa/toda>, <length><CR><LF> 

<message text> 

+CMGL: <index>,<stat>,<oa/da>,<alpha>, 

<scts>,<tooa/toda>, <length><CR><LF> 

<message text> 

[etc.] 

Continued on next page. 

Table 3-9:  Command Reference Table (ASCII Alphabetic) 

Command 

Description 

Содержание MP 700 Series

Страница 1: ...MP 700 Series GPS Rugged Wireless Modem AT Command Reference 2130309 Rev 3 2...

Страница 2: ......

Страница 3: ...nterference In such areas the Sierra Wireless modem MUST BE POWERED OFF The Sierra Wireless modem can transmit signals that could interfere with this equipment Do not operate the Sierra Wireless modem...

Страница 4: ...ts 5 515 013 5 629 960 5 845 216 5 847 553 5 878 234 5 890 057 5 929 815 6 169 884 6 191 741 6 199 168 6 339 405 6 359 591 6 400 336 6 643 501 6 516 204 6 561 851 6 653 979 6 697 030 6 785 830 6 845 2...

Страница 5: ...13811 Wireless Way Richmond BC Canada V6V 3A4 Fax 1 604 231 1109 Web www sierrawireless com Your comments and suggestions on improving this documen tation are welcome and appreciated Please e mail yo...

Страница 6: ...MP 700 Series GPS AT Command Reference 4 2130309...

Страница 7: ...hing a communication session 12 Host connection basics 13 Hardware structure 13 Host and network connections 13 Modem modes states and conditions 14 Connection Modes 15 States 15 Conditions 15 State T...

Страница 8: ...data format 21 Command Reference 23 Introduction 23 Command Types 24 Standard Modem Commands V 25ter 24 GSM Voice and Circuit Switched Data Commands GSM 07 07 26 SMS Commands GSM 07 05 27 GPRS Packet...

Страница 9: ...References This guide covers only the command set used by the MP 700 Series GPS and does not deal with operational use Refer to the product documentation for instructions on using your modem Not all c...

Страница 10: ...nd Set for GSM Mobile Equipment V 25ter ITU T recommendation V 250 GSM 07 07 and GSM 07 05 standards 3GPP TS 24 008 3rd Generation Partnership Project Mobile Radio Interface Layer 3 specification Core...

Страница 11: ...ether or not a command exists to perform a desired function there are tables organizing the commands into groups Descriptions of the definitions and use of status registers as well as a table of the f...

Страница 12: ...eter value assumed if no parameter is specified The factory defaults are also noted in a section at the end of the Commands chapter on page 107 Result Code This is a numeric or text code that is retur...

Страница 13: ...GSM network technology GSM Global System for Mobile communications is a type of wireless communications network designed for mobile phones that is widely deployed throughout the world GPRS General Pac...

Страница 14: ...already connected to a serial port on your computer connect it 2 If open close Watcher or any other program that commu nicates with the modem 3 Launch HyperTerminal Depending on your version of Window...

Страница 15: ...ant to recognize these two command types because during modem to network connections the MP 700 Series GPS does not respond to AirCard AT commands That is only AT MP commands will work This means that...

Страница 16: ...mands to the modem the serial connection is required Having a USB connection in addition to the serial connection has two main advantages USB provides a higher data rate between the host and the modem...

Страница 17: ...etermine what extension cables are supported States The modem s state indicates what form of communication is occurring between the modem and the host computer At any time the modem is in one of two s...

Страница 18: ...State Online Condition Yes Yes Offline Condition Yes No State Transitions The auto connect feature see MPPADSETUP on page 54 deter mines what state is established when the modem is powered If autoconn...

Страница 19: ...pace BS for human readability There is a limit of 200 characters to one command line including the AT prefix and the CR termination i e 197 characters of useful command buffer If the command buffer le...

Страница 20: ...t case sensitive they may be entered in upper or lower case or a combination Arguments to commands may be case sensitive Concatenation More than one command can be included in a single line although s...

Страница 21: ...s Result codes are not shown in the command tables unless special conditions apply Generally the result code OK is returned when the command has been executed ERROR may be returned if parameters are o...

Страница 22: ...typically with the CR and LF characters If you are designing or customizing software that will interface with the modem using AT commands it is necessary to under stand how the modem frames its respo...

Страница 23: ...CR if verbose is off ATV0 When ATV1 is set and there is an error CR LF ERROR CR LF is sent to the host computer and no subsequent commands in the command line are processed If ATV0 is set result code...

Страница 24: ...MP 700 Series GPS AT Command Reference 22 2130309...

Страница 25: ...eless connec tions and is now standardized by the Third Generation Partnership Project 3GPP The commands are defined in the standards known as V 25ter for standard modem commands GSM 07 07 for GSM and...

Страница 26: ...alphabetic order with a cross reference to the full description in the reference table This format allows quick lookup of each command to verify syntax parameters and behaviors Standard Modem Command...

Страница 27: ...network request 100 ATD Make GPRS connection 100 E n Command echo mode 101 H 0 Hang up disconnect 101 I n Display product identification 101 L ignored Set speaker loudness 101 M ignored Set speaker mo...

Страница 28: ...rer identification 69 CGMM Request model identification 69 CGMR Request revision identification 69 CGSN Display IMEI 72 CIMI Request international mobile subscriber identity IMSI 72 CLCC List current...

Страница 29: ...tion 99 Table 3 4 GSM commands Command Description p Table 3 5 SMS commands Command Description p CMGC Send SMS command 77 CMGD Delete SMS message 77 CMGF Select SMS message format 78 CMGL List SMS me...

Страница 30: ...CGCLASS GPRS mobile station class 64 CGDATA Enter data state 64 CGDCONT Define Packet Data Protocol PDP context 65 CGEREP Unsolicited GPRS event reporting control 68 CGPADDR Show PDP address 70 CGQMI...

Страница 31: ...34 MPCLIENTIP Report the IP address 34 MPCONFSNAP Configure UDP port number 35 MPCONREJ Enable disable reset feature 35 MPCWINFO Reset Display Connection Watchdog statistics 36 MPCWSETUP Set Connectio...

Страница 32: ...Sets the inactivity timeout 50 MPIGNSENSE Report ignition status 50 MPMTCONF Configure MT protocol 50 MPNVDEF Set modem configuration parameters to defaults 51 MPOPMODE Select operating mode 52 MPPADC...

Страница 33: ...omes blocked and the PUK code is required Typically the number of retries on the PUK code is ten If the correct PUK code is not entered within that number of attempts the SIM becomes permanently block...

Страница 34: ...he modem These must be connected to the appropriate pins of the DB15 I O connector See the Software Installation Configuration and Integration Guide on the MP 700 Series GPS installation CD for more i...

Страница 35: ...iguration parameter values for the specified channel MPAUTHPPP n MPAUTHPPP Enable disable PPP authentication between the modem and the host PC This command is only available on modems with firmware ve...

Страница 36: ...attempt to establish a connection invokes the Fallback connection MPBARSVC returns the current setting MPCFGDUMP batch Dumps configuration Note This command is only available on MP 750 GPS modems wit...

Страница 37: ...it can be routed through a VPN client The MPMTCONF command sets whether raw GPS data or MTP data is sent The ctype parameter is used to make the setting See page 50 MPCONFSNAP returns the current por...

Страница 38: ...MPCWSETUP rxtime dnstime dnsport dnsname max number of CW triggered disconnects PING IP mode Set Connection Watchdog Note This command is only available on MP 750 GPS modems with firmware version R2_...

Страница 39: ...2_1_12ap or higher and MP 775 GPS modems with firmware version 3_0_7ap or higher the allowed values are 1 to 240 30 is the default dnsport DNS port number used by the MP The allowed values are 1 to 65...

Страница 40: ...very 10 minutes rxtime 10 If the Rx byte count changes during the 10 minute interval the connection is deemed to be valid If the Rx byte count does not change the modem generates traffic by performing...

Страница 41: ...ted to the modem All four channels can be used to provide input to the modem Two of the four can be used alternatively to provide output from the modem Sensors and gauges must be connected to the appr...

Страница 42: ...igh occurs 3 No alarm any change in logic level is logged The name and location of the log file is set in Watcher See the Watcher online help for details State when logic level is low logic low label...

Страница 43: ...n MPBARSVC enables and disables Fallback and GPRS connections effectively enabling and disabling this feature Fallback only works when the default GPRS profile is in use and only where the network sup...

Страница 44: ...r the SQ see the SVeeEight Plus GPS System Designer Reference Manual MPGPSCOMOUT enable save to NV Enable GPS output to the AT command port This command is only available on modems with firmware versi...

Страница 45: ...will be sent or not based on the previously saved enable setting If no setting has been previously saved GPS data will NOT be sent to the COM port enable 1 save to NV 1 GPS data is sent to the COM por...

Страница 46: ...our Heading Heading in degrees from True North 0 increasing clockwise Num SV Number of satellites fixed The modem must have a fix on at least four satellites to report longitude latitude heading altit...

Страница 47: ...with this command persists across power cycles MPGPSESC returns the current setting MPGPSINIT init no TAIP command Set initialization string Specifies TAIP commands to be executed by the modem on sta...

Страница 48: ...s the Global positioning system fix data message GGA 1 enables the Global positioning system fix data message Messages are separated by LF CR By default the GGA VTG and ZDA messages are generated and...

Страница 49: ...00 or 9600 localUpdateInt Local GPS query interval in seconds 0 255 rmFlag Bit mapped storage of the flags set using the SRM TAIP command Bit 0 ID_FLAG 0 TRUE 1 FALSE Bit 1 CS_FLAG 0 TRUE 1 FALSE Bit...

Страница 50: ...Srecords is set to 0 MPGPSSTOR returns the current setting showing how many records are being stored MPGPSTAIP LN PV CP AL ST MPGPSTAIP Set query TAIP messages sent in RNAP Note This command is only a...

Страница 51: ...press MT messages from being sent when the GPS module does not have a fix on enough satellites to calculate its position This command only has effect when the MP is in non polling mode that is the las...

Страница 52: ...provides a description of this protocol The modem provides four independent reporting engines allowing the MT data to be simultaneously sent to four different destinations The MPMTCONF command sets t...

Страница 53: ...tmr 0 Disabled 1 255 Interval between reports in minutes 5 by default Fast rate timer fasttmr 0 Disabled 2 30 Interval between reports in seconds 3 by default GPS timer gpstmr 0 Disabled 1 255 Interva...

Страница 54: ...is established only when the host to modem connection is requested When the host disconnects the modem to GPRS connection is lost as soon as the inactivity timer expires See MPIDTIME The value is eit...

Страница 55: ...command ATO can then be used to resume the PAD session The command ATH will close the PAD session Include exclude forwarding character fwden 0 Disabled 1 On receipt of the primary forwarding character...

Страница 56: ...UP Set up a PAD connection Creates a UDP or TCP connection with a specified device This defines the connection established by the MPPADCONN command Note The MP 700 Series GPS source port number is har...

Страница 57: ...Using a pubic IP address could cause the application to fail Parameter settings The parameters are IP addr The IP address used between Watcher and the MP 700 Series GPS not used for network traffic l...

Страница 58: ...Profile number index 1 Profile 1 2 Profile 2 3 Profile 3 Description of profile label 32 character string Username username 32 character string Password password 32 character string Access Point Name...

Страница 59: ...g the reset button or the MPGRESET command MPUSB returns the current USB state MPWATCHER LAN NAT MPWATCHER Enable disable NAT support Note This command is only available on MP 750 GPS modems with firm...

Страница 60: ...n the value of n n 0 The DCD control line remains ON regardless of the status of the data carrier n 1 The DCD control line switches ON when there is a connection and OFF when there is no connection D...

Страница 61: ...vice name and connection element ce to be used when originating a GSM data call The query command CBST returns current values CBST returns supported values Supported values Available values are data r...

Страница 62: ...r type time CCFC status class number type time etc For mode 2 if no call forward numbers are registered i e no classes are active it returns status 0 and class 7 which represents inactive status for a...

Страница 63: ...modem if available on the GSM network and supported by the user s carrier and subscription plan The command can activate deactivate and query the call waiting service For all values of mode other than...

Страница 64: ...tach or unsuccessful PDP context activation the last GPRS detach or PDP context deactivation Extended error reports are available for a number of the commands listed in this section and appear in the...

Страница 65: ...e CMEE command page 76 If the modem is not GPRS attached when instructed to activate it attempts to perform a GPRS attach first See page 63 If no cid is specified the command either activates the defa...

Страница 66: ...RS attachment and PDP context activation procedures may take place prior to or during the PDP startup if they have not already been performed using the CGACT and CGATT commands pages 63 and 63 If the...

Страница 67: ...parameter which specifies a particular PDP context definition The range of permitted values minimum value 1 is returned by CGDCONT See also CGPADDR on page 70 PDP_type Packet Data Protocol type is a s...

Страница 68: ...that is cid 1 Note A special form of the set command CGEQMIN cid causes the minimum acceptable profile for context number cid to become undefined In this case no check is made against the negotiated...

Страница 69: ...rameter sets the bit error ratio in delivered SDUs if no error detection is requested This should be entered in the form mEe For example the value 5 10 3 should be entered as 5E3 When this parameter i...

Страница 70: ...ge 66 the command is rejected and the profile is not updated Note The D command used to establish GPRS connections uses only those settings assigned to the PDP Context Identifier 1 that is cid 1 All p...

Страница 71: ...en mode 1 or 2 above is entered clear the modem s buffer of unsolicited result codes buffer 1 The modem s buffer of unsolicited result codes defined within this command is flushed to the host computer...

Страница 72: ...eptable Quality of Service QoS profile for the specified local context identification parameter cid See pages 65 and 70 for more information The modem checks the quality of service profile against the...

Страница 73: ...s 5 up to 4 4 bps 6 up to 11 1 bps 7 up to 22 bps 8 up to 44 bps 9 up to 111 bps 10 up to 0 22 kbps 11 up to 0 44 kbps 12 up to 1 11 kbps 13 up to 2 2 kbps 14 up to 4 4 kbps 15 up to 11 1 kbps 16 up t...

Страница 74: ...tered modem is not currently searching a new operator to register to 1 registered lac is a string specifying a two byte location area code in hexadecimal format e g 00C3 equals 195 in decimal ci is a...

Страница 75: ...dialing MO call stat 3 alerting MO call stat 4 incoming MT call stat 5 waiting MT call bst indicates the bearer service type bst 0 voice bst 1 data bst 9 unknown conf indicates whether the call is a p...

Страница 76: ...me country see GSM 02 88 6 clause 2 AB All Barring services see GSM 02 30 19 applicable only when mode 0 AG All outGoing barring services see GSM 02 30 19 applicable only when mode 0 AC All inComing b...

Страница 77: ...r disabled locally and whether it is available to the user on the network CLIP 0 0 CLI disabled CLIP not provisioned on network CLIP 0 1 CLI disabled CLIP provisioned CLIP 0 2 CLI disabled CLIP networ...

Страница 78: ...lowed temp CLIR 2 0 CLIR suppressed CLIR not provisioned on network CLIR 2 1 CLIR suppressed CLIR provisioned permanent CLIR 2 2 CLIR suppressed CLIR network status unknown CLIR 2 3 CLIR suppressed CL...

Страница 79: ...ported values Parameters for the text mode send command are fo first octet of GSM 03 40 SMS COMMAND in integer format default 2 ct GSM 03 40 TP Command Type in integer format default 0 pid GSM 03 40 T...

Страница 80: ...eam represented by PDU mode See CMGC page 77 for information on sending messages CMGF returns the current setting CMGL status List SMS messages Lists messages of the specified status from the message...

Страница 81: ...ented to the computer as two characters 2A IRA 50 and 65 oa da The Originating Address Value oa field in string format type of address given by tooa or the Destination Address field da in string forma...

Страница 82: ...n SMS message to the network SMS SUBMIT directly without requiring that it be stored in memory A message reference value mr is returned if the message has been successfully delivered in the form CMGS...

Страница 83: ...or STO UNSENT but another status may be assigned as described on page 78 The ending of the message body in text mode or PDU in PDU mode must be indicated by ctrl Z IRA 26 Saving can be cancelled by p...

Страница 84: ...online data mode and flush them to the host computer after reservation Otherwise forward them directly to the modem mode 3 Forward unsolicited result codes directly to the host computer mt may be one...

Страница 85: ...etrieves the MSISDN Mobile Station International ISDN or mobile phone number from the SIM The MSISDN can be edited in user interface software such as Watcher the AirCard enabling software Response par...

Страница 86: ...CR LF COPN numeric2 alpha2 numericn is the operator in numeric format alphan is the operator in alphanumeric format COPS mode format operator COPS COPS Operator selection COPS mode format operator att...

Страница 87: ...perator field is ignored mode 1 Manually operator field required no operator selected if not available mode 2 Deregister from the network mode 3 Only set the format for the read command COPS do not at...

Страница 88: ...y for commands but the ringer is active n 4 Call in progress the modem is ready for commands but a call is in progress CPBF string CPBF Find phonebook entries Searches the phonebook memory as selected...

Страница 89: ...rns the index location range supported by the current storage as a compound value and the maximum lengths of the number and text fields i e nlength tlength CPBF indexrange nlength tlength Note If CPBS...

Страница 90: ...n the first free location in the phonebook Note The following characters in text must be entered via the escape sequence GSM char Seq Seq hex Note 5C 5C 35 43 backslash 22 5C 32 32 string delimiter BS...

Страница 91: ...rd between modem SIM card anti theft code SIM PIN2 SIM password 2 Only if preceding command was acknowledged with CME ERROR 17 code SIM PUK2 SIM unblocking password 2 Only if preceding command was ack...

Страница 92: ...hronous non transparent Data compression reporting can be enabled with the DR command page 96 CRC n CRC Cellular result codes for incoming calls Sets whether incoming calls or GPRS network requests fo...

Страница 93: ...tation and an integer stat showing the current status Location information elements lac and ci are returned only when n 2 and the modem is registered on the network Returned values The possible return...

Страница 94: ...version is the RLP version number in integer format either 0 or 1 If it is not present version 0 is the default Versions 0 and 1 share the same parameter set CRLP and CRLP return only one line for th...

Страница 95: ...he two devices This command is available for querying and to support GSM standards only The Sierra Wireless modem supports only the GSM standard character set string GSM which is the GSM default alpha...

Страница 96: ...ce in the form CSMS mt mo bm mt for mobile terminated messages mo for mobile originated messages bm for broadcast type messages For each returned parameter 0 means that the type is not supported and 1...

Страница 97: ...ype 129 by default CSQ Signal quality report Returns the Received Signal Strength Indication RSSI and channel Bit Error Rate BER from the modem CSQ rssi ber Returned values rssi is an integer represen...

Страница 98: ...Baudot ctmBaudotRate Modulation rate 0 45 45 Hz 1 50 Hz CTMSET displays the current settings and CTMSET displays supported settings DR n DR V 42bis compression reporting Sets whether the V 42bis comp...

Страница 99: ...1 Disconnect if V 42bis is not negotiated by the remote modem as specified in direction P1 Specifies the maximum number of dictionary entries 512 2048 entries with 512 as the default which should be n...

Страница 100: ...or Receiving the default by_modem specifies the method to be used by the modem to control the flow of transmitted data from the computer by_modem 0 None by_modem 1 XON XOFF on received data by_modem 2...

Страница 101: ...t See Factory Default Settings on page 107 VTD returns the current setting VTS DTMF or VTS tone1 tone2 duration or VTS DTMF duration DTMF tone generation This command allows the transmission of DTMF D...

Страница 102: ...d either issues CONNECT and enters data state or NO CARRIER and remains in command state GPRS mode When operating in GPRS packet mode the ATA command answers a network request for a PDP context activa...

Страница 103: ...n announced by the unsolicited result code RING The modem responds with OK If there is no outstanding connection request the modem responds with ERROR Note This is an extension to the usage of the H c...

Страница 104: ...turned from the modem Default and recommended 1 Enable Quiet mode suppressing result codes If n 0 the modem returns OK If n 1 result codes are suppressed and there is no response S n x S n S Register...

Страница 105: ...s 0 If n 1 the result code is OK The default ERROR or 4 results otherwise depending on the current state verbose or not Z Note Additional commands on the same line are ignored Reset modem to user defi...

Страница 106: ...l not automatically accept a network connection request If n 1 or any other greater value the modem will automatically accept a connection request Note ATS0 0 does not perform an automatic GPRS detach...

Страница 107: ...from a remote modem before hanging up The default value is n 50 seconds 1 255 060 seconds 8 Length of comma pause This command is provided for compatibility reasons no action is taken by the modem Par...

Страница 108: ...0 OK Command executed without errors 1 CONNECT Connected at any of the supported speeds 2 RING Alerting Signal Ring signal received from the network 3 NO CARRIER Carrier signal lost or not detected U...

Страница 109: ...e identification restriction 0 CMEE Report mobile equipment error 0 CMGF Select SMS message format 0 CNMI New SMS message indications 2 1 0 0 0 CR Service reporting control 0 CRC Cellular result codes...

Страница 110: ...r usually CR 013 CR S4 Response formatting character usually LF 010 LF S5 Command line editing character usually BS 008 BS S6 Length of pause before dialing ignore dial tone 002 2 seconds S7 Wait time...

Страница 111: ...BS 8 08 FS 28 1C 0 48 30 HT 9 09 GS 29 1D 1 49 31 LF 10 0A RS 30 1E 2 50 32 VT 11 0B US 31 1F 3 51 33 FF 12 0C SP 32 20 4 52 34 CR 13 0D 33 21 5 53 35 SO 14 0E 34 22 6 54 36 SI 15 0F 35 23 7 55 37 DL...

Страница 112: ...7 94 5E u 117 75 H 72 48 _ 95 5F v 118 76 I 73 49 96 60 w 119 77 J 74 4A a 97 61 x 120 78 K 75 4B b 98 62 y 121 79 L 76 4C c 99 63 z 122 7A M 77 4D d 100 94 123 7B N 78 4E e 101 95 124 7C O 79 4F f 10...

Страница 113: ...103 saving 59 context identification 63 crash data 42 clearing 41 CSD connections barring 34 mode 15 D data buffer 17 18 Data Carrier Detect See DCD data compression 96 data rate 98 data state 15 86...

Страница 114: ...ity See IMSI IP address client 34 private 55 L list 78 lock 74 password 89 PIN entry 89 M manufacturer 69 97 mobile equipment error 76 mobile ID 101 mobile station class 64 mode 15 CSD 15 GPRS 15 in c...

Страница 115: ...new 82 preferred service 72 read 79 restore settings 91 save settings 92 send 80 send from storage 81 service center address 93 service selection 94 text mode parameters 93 write 81 speaker volume 10...

Страница 116: ...Index Rev 3 2 Oct 05 114...

Страница 117: ......

Страница 118: ......

Отзывы: