1、STD-ETSI GSM 07.05-ENGL 1997 3400855 0223023 035 m GSM GSM 07.05 August 1997 Version 5.3.0 Source: ETSI SMG Reference: TS/SMG-O40705Q R2 ICs: 33.020 Key words: Digital cellular telecommunications system, Global System for Mobile communications (GSM) Digital cellular telecommunications system (Phase
2、2+); Use of Data Terminal Equipment - Data Circuit terminating; Equipment (DTE - DCE) interface for Short Message Service (SMS) and Cell Broadcast Service (CBS) (GSM 07.05 version 5.3.0) ETSI European Telecommunications Standards Institute ETSI Secretariat Postal address: F-O6921 Sophia Antipolis CE
3、DEX - FRANCE Office address: 650 Route des Lucioles - Sophia Antipolis - Valbonne - FRANCE X.400: c=fr, a=atlas, p=etsi, s=secretariat - Internet: secretariatQetsi.fr Tel.: +33 4 92 94 42 O0 - Fax: +33 4 93 65 47 16 Copyright Notification: No part may be reproduced except as authorized by written pe
4、rmission. The copyright and the foregoing restriction extend to reproduction in all media. O European Telecommunications Standards Institute 1997. All rights reserved. STD-ETSI GSM 07.05-ENGL 1997 W 3400855 0223022 T5L Page 2 GSM 07.05 version 5.3.0: August 1997 Whilst every care has been taken in t
5、he preparation and publication of this document, errors in content, typographical or otherwise, may occur. If you have comments concerning its accuracy, please write to “ETSI Editing and Committee Support Dept.“ at the address shown on the title page. . STD-ETSI GSM 07-05-ENGL 1997 3400855 0223023 7
6、78 Page 3 GSM 07.05 version 5.3.0: August 1997 Contents Foreword . 7 O Scope . 9 0.1 Normative references . 10 0.2 Abbreviations 11 1 Reference configuration . 11 V.24 Interface Circuits . 11 1.1.1 1.1.2 1.1 Circuit definitions for the SMS Block mode 11 Circuit definitions for the SMS Text and PDU m
7、odes 12 2.2 2.3 2.4 2 SMS Block Mode . 12 2.1 Beginning and ending of SMS/CBS Block Mode . 12 Beginning SMS/CBS Block Mode . 12 Protocol description . 13 2.1.1 2.1.2 Returning from SMSICBS Block Mode To Default Mode 12 Requesting messages already held in the Mobile Termination . 14 2.3.1 Requesting
8、List Of Messages 14 2.3.2 Requesting Transfer Of Messages . 15 2.3.2.1 2.3.2.2 Requesting Transfer Of All Messages 15 Requesting Diversion Of Incoming Messages 15 2.3.3.1 2.3.3.2 2.3.3.3 2.3.4 Requesting Transfer Into Mobile Termination 17 2.3.5 Requesting Deletion Of Messages . 17 Message functiona
9、l definitions and contents . 19 2.4.1 Commands Issued By The Terminal Equipment . 19 2.4.1.1 List Request . 20 2.4.1.2 Get Message . 20 2.4.1.3 Get First Message 20 2.4.1.4 Get Next Message 20 2.4.1.5 Transfer Inc SMS 20 2.4.1.6 Indicate Inc SMS 20 2.4.1.7 Transfer Inc CBS 21 2.4.1.8 Insert SMS . 21
10、 2.4.1.9 Delete message 21 2.4.1.1 O Unable to process . 21 2.4.1.1 1 End SMS Mode 21 2.4.1.12 Acknowledge Message . 22 Responses/lndications Issued By The MT 22 2.4.2.1 Message List 22 2.4.2.2 Message 22 2.4.2.3 Get Message Failure . 23 2.4.2.4 Inc Message . 23 2.4.2.5 Message Arrived . 23 2.4.2.6
11、Insert SMS Complete 23 2.4.2.7 Insert SMS Failure 23 2.4.2.8 Delete Message Complete 24 2.4.2.9 Delete Message Failure -24 2.4.2.1 O Unable To Process 24 2.4.2.1 1 End SMS Mode 24 2.4.2.12 Request Confirmed . 24 Requesting Transfer Of A Specific Message . 15 Requesting SMS Messages . 16 Requesting C
12、BS Messages . 16 Requesting indication of message arrival . 16 2.3.3 2.4.2 STD-ETSI GSM 07.05-ENGL 1997 3400855 0223024 824 Page 4 GSM 07.05 version 5.3.0: August 1997 2.5 General message format and information elements coding 24 2.5.1 Message Type . 25 Other Information Elements . 25 2.5.2.1 Short
13、Message Reference . 26 2.5.2.2 SMS Transfer Type . 26 2.5.2.3 Indication Type . 28 2.5.2.4 Insert Type . 28 2.5.2.5 Short Message Index 29 2.5.2.6 Short Message Data . 31 2.5.2.7 Cause 33 2.5.2.8 Index Count 34 2.5.2.9 CBS Transfer Type . 35 2.5.2.1 O Page Index . 35 2.5.2.1 1 Last Short Message 36
14、2.5.2.1 2 Confirm Type 36 2.5.2.1 3 TP- Failure Cause 37 2.5.2.1 4 SM-Deliver-Ack . 37 2.5.2.1 5 SM-Submit-Ack . 38 2.5.2 3 Text Mode . 38 3.1 Parameter Definitions . 38 3.2 General Configuration Commands . 41 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 Select Message Service +CSMS . 41 Message Format +CMGF . 42
15、3.2.6 Informative Examples 44 Message Configuration Commands . 44 Service Centre Address +CSCA 44 Set Text Mode Parameters +CSMP . 44 Show Text Mode Parameters +CSDH 46 Select Cell Broadcast Message Types +CSCB . 46 Save Settings +CSAS . 47 Preferred Message Storage +CPMS 42 Enter SMS Block Mode Pro
16、tocol +CESP 43 Message Service Failure Result Code +CMS ERROR . 43 3.3 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 Message Receiving and Reading Commands . 48 3.4.1 3.4.2 3.4.3 3.4.4 Message Sending and Writing Commands . 55 3.5.1 Send Message +CMGS 55 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 Restore Settings +CRES .
17、47 3.3.7 Informative Examples 48 New Message Indications to TE +CNMI . 48 List Messages +CMGL . 52 New Message Acknowledgement to MElTA +CNMA . 53 3.4.5 Informative Examples 54 Send Message from Storage +CMSS 56 Write Message to Memory +CMGW 57 Send Command +CMGC . 58 More Messages to Send +CMMS 58
18、3.5.7 Informative Examples 59 3.4 Read Message +CMGR 53 3.5 Delete Message +CMGD 57 4 PDU Mode 60 4.1 4.2 4.3 4.4 4.5 4.6 4.7 List Messages +CMGL 60 Read Message +CMGR . 60 Send Message +CMGS . 61 Write Message to Memory +CMGW . 61 Send Command +CMGC 62 New Message Acknowledgement to MWA +CNMA 62 Se
19、nd Message from Storage +CMSS . 63 STD-ETSI GSM 07-05-ENGL 1997 E 3400855 0221025 760 W Page 5 GSM 07.05 version 5.3.0: August 1997 Annex A (Normative): Character Set Conversions for SMS Text Mode . 65 Annex 8 (Informative): Example of processing a data block 68 Example state diagrams for the block
20、receiver . . , , , , . . . 68 Example of coding and decoding a data block 68 6.1 6.2 Annex C (Informative): Change History . 72 History . . . . . . , . . . . . . . . . . . . . . . . 73 STD-ETSI GSM D7.05-ENGL 1997 3400855 022102b bT7 Page 7 GSM 07.05 version 5.3.0: August 1997 Foreword This Global S
21、ystem for Mobile communications Technical Specification (GTS) has been produced by the Special Mobile Group (SMG) of the European Telecommunications Standards Institute (ETSI). This GTS outlines the use of data terminal equipment and specifies the terminal (DTE-DCE) interface for Short Message and S
22、hort Message Cell Broadcast Services within the digital cellular telecommunications system. The contents of this GTS are subject to continuing work within SMG and may change following formal SMG approval. Should SMG modify the contents of this GTS it w ill then be republished by ETSI with an identif
23、ying change of release date and an increase in version number as follows: Version 5.x.y where: y the third digit is incremented when editorial only changes have been incorporated in the specification; x the second digit is incremented for all other types of changes, .e. technical enhancements, corre
24、ctions, updates, etc. The specification from which this ETS has been derived was originally based on CEPT documentation, hence the presentation of this ETS may not be entirely in accordance with the ETSVPNE Rules. Previous page is blank STD-ETSI GSM 07-05-ENGL 1997 3400855 0221027 533 Page 9 GSM 07.
25、05 version 5.3.0: August 1997 o scope This Global System for Mobile communications Technical Specification (GTS) defines three interface protocols for control of SMS functions within a GSM mobile telephone from a remote terminal via an asynchronous interface. Clause 2 defines a binary protocol (“Blo
26、ck Mode”). The protocol includes error protection and is suitable for use where the link may not be completely reliable. It will be of particular use where control of remote devices is required. Efficient transfer of binary encoded user data is possible. Clause 3 defines a character-based interfaced
27、 based on “AT commands (“Text Mode”). This mode is suitable for unintelligent terminals or terminal emulators, and for application software built on command structures like those defined in V.25ter. Some of the commands defined in clause 3 will also be useful for implementations of clause 2 andor cl
28、ause 4, for example enabling an indication of incoming SMS messages. Clause 4 defines a character-based interface with hex-encoded binary transfer of message blocks (”PDU Mode”). This mode is suitable for software drivers based on AT command structures which do not understand the content of the mess
29、age blocks and can only pass them between the MT and “upper level” software resident in the TE. In all three modes, the terminal is considered to be in control for SMS/CBS transactions. This specification considers the mobile termination to be a single entity. Other GSM Technical Specifications desc
30、ribe the split of functionality between the mobile equipment and SIM. The three “modes” referred to above, are represented in figure O.l/GSM 07.05. The “Block mode” is a self contained mode in its own right, and when entered, control w ill remain within that mode until the procedures to exit the mod
31、e are executed, after which control is returned to the V.25ter “command state or “on-line command state. The “Text” and “PDV modes are not in themselves V.25ter states but are simply sets of commands which will operate in either the V.25ter “command” state or “on-line command state. The “Text” and “
32、PDV modes are transitory states and after each operation, control is automatically returned to the V.25ter “command state or “on-line command state. Whilst in the V.25ter command state, the MS is available to handle incoming and outgoing calls such as Data or Facsimile. n V .25te r and “on-line com
33、m and state “com mand state I SMS Block Mode I Figure O.l/GSM 07.05: Block, Text and PDU modes In the “Block mode” and “PDV mode a mobile is not permitted to modify any component of an SMS/CBS message received from the air interface or an SMS message received from a TE, before passing it on, Previou
34、s page is blank - STD-ETSI GSM 07-05-ENGL 1777 m 3q00855 0221028 47T Page 10 GSM 07.05 version 5.3.0: August 1997 except where GSM 03.40 or GSM 03.41 defines a “component modification facility“ and where this “component modification facility“ is supported by the mobile. In the Text Mode the mobile m
35、ay be unable to display characters coded in particular coding schemes. In this case, the mobile shall behave as described in GSM 03.38 and assume the coding scheme to be the GSM Default Alphabet. 0.1 Normative references This GTS incorporates by dated and undated reference, provisions from other pub
36、lications. These normative references are cited at the appropriate places in the text and the publications are listed hereafter. For dated references, subsequent amendments to or revisions of any of these publications apply to this GTS only when incorporated in it by amendment or revision. For undat
37、ed references, the latest edition of the publication referred to applies. 131 141 11 GSM O1 .O4 (ETR 350): “Digital cellular telecommunications system (Phase 2+); Abbreviations and acronyms“. GSM 03.38 (ETS 300 900): “Digital cellular telecommunications system (Phase 2+); Alphabets and language-spec
38、ific information“. GSM 03.40 (ETS 300 901) : “Digital cellular telecommunications system (Phase 2+); Technical realization of the Short Message Service (SMS) Point-to- Point ( PP) l. GSM 03.41 (ETS 300 902): “Digital cellular telecommunications system (Phase 2+); Technical realization of Short Messa
39、ge Service Cell Broadcast (SMSCB)“. GSM 04.08 (ETS 300 940): “Digital cellular telecommunications system (Phase 2+); Mobile radio interface layer 3 specification“. GSM 04.1 1 (ETS 300 942): “Digital cellular telecommunications system (Phase 2+); Point-to-Point (PP) Short Message Service (SMS) suppor
40、t on mobile radio interface“. GSM 04.12 (ETS 300 943): “Digital cellular telecommunications system (Phase 2+); Short Message Service Cell Broadcast (SMSCB) support on the mobile radio interface“. GSM 07.01 (ETS 300 913): “Digital cellular telecommunications system (Phase 2+); General on Terminal Ada
41、ptation Functions (TAF) for Mobile Stations (MS) “. GSM 07.07 (ETS 300 91 6): “Digital cellular telecommunications system (Phase 2+); AT command set for GSM Mobile Equipment (ME)“. GSM 11.1 1 (ETS 300 977): “Digital cellular telecommunications system (Phase 2+); Specification of the Subscriber Ident
42、ity Module - Mobile Equipment (SIM - ME) interface“. CCIlT Recommendation V.25ter: “Serial Asynchronous Automatic Dialling And Control“ CCIlT Recommendation V.24: “List of definitions for interchange circuits between data terminal equipment (DTE) and data circuit-terminating equipment“. CCITT Recomm
43、endation E.164: “Numbering plan for the ISDN era“ CCIlT Recommendation E.163: “Numbering plan for the international telephone service“. _ STD-ETSI GSM 07.05-ENGL 1797 D 3400855 0223027 30b D Page 11 GSM 07.05 version 5.3.0: August 1997 0.2 Abbreviations Abbreviations used in this specification are l
44、isted in GSM O1 .O4 l. 1 Reference configuration MOB I LE EQUIPMENT SIM TERM I NAL EQUIPMENT DCE/DTE INTERFACE MOBILE TERMINATION (MT2) V.24 CIRCUIT CT102 CT103 CT104 CT105 CT106 CT107 CT108.2 CT1 O9 Figure 1 : Reference configuration DESCRIPTION TE to MT signal ground X TXD X RXD RTS X CTS DSR DTR
45、X DCD The mobile termination consists of the mobile equipment (ME) and the SIM. Messages may be stored in either, but this specification does not distinguish between messages stored in the SIM or in the ME. The management of message storage in the two parts of the mobile termination is a matter for
46、the mobile termination implementation. 1 .i V.24 Interface Circuits The operation of the CCITT V.24 blue book interface circuits for SMS is shown in table 1 .l/GSM 07.05. Table 1 .l/GSM 07.05: Use of V.24 interface circuits MT to TE A X X X X NOTE: CTlO5 at the TE is connected to CT133 at the MT 1.1
47、.1 Circuit definitions for the SMS Block mode CT103 All commands from the TE to the MT are transferred across this circuit. Inband flow control is not permitted during Block Mode. CT104 All responses/indications from the MT to the TE are transferred across this circuit. Inband flow control is not pe
48、rmitted during Block Mode. CT105 This circuit allows the TE to flow control the MT when in the Block Mode and at other times if hardware flow control is enabled. CT106 This circuit allows the MT to flow control the TE when in the Block Mode and at other times if hardware flow control is enabled. - S
49、TDmETSI GSM 07.05-ENGL 1977 3Y00855 0223030 O28 Page 12 GSM 07.05 version 5.3.0: August 1997 CT107 This circuit shall be set to the ON condition before entry into the Block Mode, and shall remain in the ON condition during Block Mode. If the TE detects that this circuit returns to the OFF condition during the block mode then the TE shall return CT108.2 to the OFF condition and exit the Block Mode. CT108.2 This circuit shall be set in the ON condition before the AT+CESP command is sent from the TE to begin the Block Mode, and shall be maintaine