1、STD*ETSI TS LOO 585-ENGL 1999 I 3400855 0428782 T4L M ETSI TS 1 O0 585 V7.0.1 (1999-07) Technical Specification Digital cellular telecommunications system (Phase 2+); Use of Data Terminal Equipment - Data Circuit terminating; Equipment (DTE - DCE) interface for Short Message Service (SMS) and Cell B
2、roadcast Service (CBS) (GSM 07.05 version 7.0.1 Release 1998) STD-ETSI TS LOO SBS-ENGL 1397 M 3400855 0428783 788 M ETSI TS 100 585 V7.0.1 (1999-07) (GSM 07.05 version 7.0.1 Release 1998) 2 Reference RTS/SMG-04070507 (5f003iOr. PDF) Keywords Digital cellular telecommunications system, Global System
3、for Mobile communications (GSM) ETSI Postai address F-O6921 Sophia Antipolis Cedex - FRANCE Office address 650 Route des Lucioles - Sophia Antipolis Valbonne - FRANCE Tel.: +33 4 92 94 42 O0 Fax: +33 4 93 65 47 16 Siret No 348 623 562 00017 - NAF 742 C Association a but non lucratif enregistre la So
4、us-Prfecture de Grasse (06) No 7803/88 Internet secretariat etsi.fr Individual copies of this ETSI deliverable can be downloaded from http:/www.etsi.org If you find errors in the present document, send your comment to: editorQetsi.fr Copyright Notification No part may be reproduced except as authori
5、zed by written permission. The copyright and the foregoing restriction extend to reproduction in all media. O European Telecommunications Standards Institute 1999. Ail rights reserved. ETSI sTD.ETS1 TS LOO 585-ENGL 1799 3400855 0428784 814 (GSM 07.05 version 7.0.1 Release 1998) 3 ETSI TS 100 585 V7.
6、0.1 (1 999-07) Contents Intellectual Property Rights 6 Foreword 6 Introduction 6 O o . 1 0.2 1 1.1 1.1.1 1.1.2 2 2.1 2.1.1 2.1.2 2.2 2.3 2.3.1 2.3.2 2.3.2.1 2.3.2.2 2.3.3 2.3.3.1 2.3.3.2 2.3.3.3 2.3.4 2.3.5 2.4 2.4.1 2.4.1.1 2.4.1.2 2.4.1.3 2.4.1.4 2.4.1.5 2.4.1.6 2.4.1.7 2.4.1.8 2.4.1.9 2.4.1.10 2.
7、4.1.11 2.4.1.12 2.4.2 2.4.2.1 2.4.2.2 2.4.2.3 2.4.2.4 2.4.2.5 2.4.2.6 2.4.2.7 2.4.2.8 2.4.2.9 2.4.2.10 2.4.2.11 2.4.2.12 2.5 . 7 References 8 Abbreviations . 8 . Reference configuration 9 V.24 Interface Circuits . . 9 Circuit definitions for the SMS Block mode 9 Circuit definitions for the SMS Text
8、and PDU modes 10 SMS Block Mode . 10 Beginning and ending of SMSICBS Block Mode Returning from SMS/CBS Block Mode To D Beginning SMS/CBS Block Mode Protocol description . 11 Requesting messages already held in the Mobile Termination 12 Requesting List Of Messages . 12 Requesting Transfer Of A Specif
9、ic Message 13 Requesting Transfer Of All Messages 13 Requesting Diversion Of Requesting SMS Mes Requesting indication of m Requesting Transfer Of Messages 13 Requesting CBS Messages . 14 Requesting Transfer Into Requesting Deletion Of Messages . Message functional definitions and contents 15 Command
10、s Issued By The Terminal Equipment 16 List Request 16 Get Message . 16 Get First Message . 16 Get Next Message . 17 Transfer Inc SMS 17 Indicate Inc SMS 17 17 . Delete message 17 End SMS Mode 18 Acknowledge Message . 18 . 18 18 18 Inc Message . Message Arrived Insert SMS Complete 19 Delete Message F
11、ailure . Insert SMS Failure 19 Delete Message Complete 19 19 Unable To Process End SMS Mode Request Confirmed General message format and information ETSI STD-ETSI TS 100 5S-ENGL 1999 m 3400855 042785 750 m (GSM 07.05 version 7.0.1 Release 1998) 4 ETSI TS 100 585 V7.0.1 (1999-07) 2.5.1 2.5.2 2.5.2.1
12、2.5.2.2 2.5.2.3 2.5.2.4 2.5.2.5 2.5.2.6 2.5.2.7 2.5.2.8 2.5.2.9 2.5.2.10 2.5.2.11 2.5.2.12 2.5.2.13 2.5.2.14 2.5.2.15 Message Type . Short Message Referenc 21 SMS Transfer Type Other Information Elements 21 Indication Type . 22 Insert Type 23 Short Message Index . 24 Cause Index Count 29 CBS Transfe
13、r Type . 30 Page Index 30 Last Short Message . 3 1 TP-Failure Cause 32 SM-Deliver-Ack . 32 SM-Submit-Ack 32 Short Message Data Confirm Type . 31 3 Text Mode 33 3.1 3.2 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.3 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.4 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.5 3.5.1 3.5.2
14、3.5.3 3.5.4 3.5.5 3.5.6 3.5.7 4 4.1 4.2 4.3 4.4 4.5 4.6 4.7 . Parameter Definitions 33 General Configuration Commands . 36 Select Message Service +CSMS 36 Preferred Message Storage +CPMS . 36 Enter SMS Block Mode Protoc Message Service Failure Result Co Message Format +CMGF Informative Examples . Me
15、ssage Configuration Comman Service Centre Address +CSCA . 39 Set Text Mode Parameters +CSMP 39 Show Text Mode Parameters +CSDH 39 Select Cell Broadcast Message Types +CSCB . 40 Save Settings +CSAS . 40 Restore Settings +CRES . 41 Informative Examples 4 1 42 New Message Indications to TE + Message Re
16、ceiving and Reading Commands. List Messages +CMGL . Read Message +CMGR . New Message Acknowledgement to ME/TA +CNMA Informative Examples Message Sending and Writing Commands . 49 Send Message +CMGS 49 Send Message from Storage +CMSS . 50 50 Write Message to Memory +CMGW Delete Message +CMGD Send Com
17、mand +CMGC . More Messages to Send +CMMS $(TE1 R97)$ Informative Examples 52 . 53 . 53 Read Message +CMGR . 54 54 Send Message +CMGS . Write Message to Mem New Message Acknowl . Send Command +CMG Send Message from Storage +CMSS . 56 ETSI STD-ETSI TS 100 585-ENGL 1999 I 3400855 0428786 b7 I (GSM 07.0
18、5 version 7.0.1 Release 1998) 5 ETCI TC 100 585 V7.0.1 (1999-07) Annex A (Normative): Annex B (Informative): Character Set Conversions for SMS Text Mode 58 Example of processing a data block . 61 B. 1 B.2 Annex C (Informative): Example state diagrams for the block receiver . Example of coding and de
19、coding a data block Change History 65 History .66 ETSI STD-ETSI TS LOO 585-ENGL 1999 3400855 0428787 523 Feature Technical enhancement and improvement: New optional command Enhanced Validity Period Format (GSM 07.05 version 7.0.1 Release 1998) 6 ETSI TS 100 585 V7.0.1 (1999-07) Designator $(TE1 R97)
20、$ $(EVPF)$ Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The information pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found in SR O00 3 14: “Intellectual P
21、roperty Rights (IPRs); Essential, or potentially Essential, IPRs notlj(ied to ETSI in respect ofETSI standards”, which is available free of charge from the ETSI Secretariat. Latest updates are available on the ETSI Web server (http:/www.etsi.org/ipr). Pursuant to the ETSI IPR Policy, no investigatio
22、n, including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existence of other IPRs not referenced in SR O00 314 (or the updates on the ETSI Web server) which are, or may be, or may become, essential to the present document. Foreword This Technical Specification (TS)
23、 has been produced by the Special Mobile Group (SMG). The present document outlines the use of data terminal equipment and specifies the terminal (DTE-DCE) interface for Short Message and Short Message Cell Broadcast Services within the digital cellular telecommunications system. The contents of the
24、 present document are subject to continuing work within SMG and may change following formal SMG approval. Should SMG modify the contents of the present document it will then be re-issued with an identifying change of release date and an increase in version number as follows: Version 7.x.y where: 7 G
25、SM Phase 2+ Release 1998; x the second digit is incremented for all other types of changes, i.e. technical enhancements, corrections, updates, etc.; y the third digit is incremented when editorial only changes have been incorporated in the specification. Introduction ETSI (GSM 07.05 version 7.0.1 Re
26、lease 1998) 7 ETSI TS 100 585 V7.0.1 (1999-07) O Scope The present document defines three interface protocols for control of SMS functions within a GSM mobile telephone from a rcmote terminal via an asynchronous interface. Clause 2 defines a binary protocol (“Block Mode”). The protocol includes erro
27、r 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 based on “AT” commands (“Text Mode”)
28、. 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 and/or clause 4, for example enabling an ind
29、ication 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 message blocks and can only pass them b
30、etween 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. The present document considers the mobile termination to be a single entity. Other GSM Technical Specifications describe the split of functionality b
31、etween the mobile equipment and SIM. The three “modes” referred to above, are represented in figure O.I/GSM 07.05. The “Block mode” is a self contained mode in its own right, and when entered, control will remain within that mode until the procedures to exit the mode are executed, after which contro
32、l is returned to the V.25ter “command” state or “on-line command” state. The Text” and “PDU” 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 “PDU modes are transitory states
33、 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. ”command” state and “on-line command” state I m SMS Block
34、Mode Figure O.I/GSM 07.05: Block, Text and PDU modes In the “Block mode” and “PDU” 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, except where GSM 03.40 or GSM 03.41 defines a “c
35、omponent modification facility” and where this “component modification facility” is supported by the mobile. In the Text Mode the mobile may 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 schem
36、e to be the GSM Default Alphabet. ETSI (GSM 07.05 version 7.0.1 Release 1998) 8 ETSI TS 100 585 V7.0.1 (1999-07) o. 1 References The following documents contain provisions which, through reference in this text, constitute provisions of the present document. References are either specific (identified
37、 by date of publication, edition number, version number, etc.) or non-specific. For a specific reference, subsequent revisions do not apply. For a non-specific reference, the latest version applies. A non-specific reference to an ETS shall also be taken to refer to later versions published as an EN
38、with the same number. For this Release 1998 document, references to GSM documents are for Release 1998 versions (version 7.x.y). il GSM 01.04: “Digital cellular telecommunications system (Phase 2+); Abbreviations and acronyms“. GSM 03.38: “Digital cellular telecommunications system (Phase 2+); Alpha
39、bets and language-specific information“. GSM 03.40: “Digital cellular telecommunications system (Phase 2+); Technical realization of the Short Message Service (SMS) Point-to-point (PP)“. GSM 03.41 : “Digital cellular telecommunications system (Phase 2+); Technical realization of Short Message Servic
40、e Cell Broadcast (SMSCB)“. GSM 04.08: “Digital cellular telecommunications system (Phase 2+); Mobile radio interface layer 3 specification“. GSM 04.1 1 : “Digital cellular telecommunications system (Phase 2+); Point-to-point (PP) Short Message Service (SMS) support on mobile radio interface“. GSM 04
41、.12: “Digital cellular telecommunications system (Phase 2+); Short Message Service Cell Broadcast (SMSCB) support on the mobile radio interface“. GSM 07.01 : “Digital cellular telecommunications system (Phase 2+); General on Terminal Adaptation Functions (TAF) for Mobile Stations (MS)“. GSM 07.07: “
42、Digital cellular telecommunications system (Phase 2+); AT command set for GSM Mobile Equipment (ME)“. GSM 11.1 1: “Digital cellular telecommunications system (Phase 2+); Specification of the Subscriber Identity Module - Mobile Equipment (SIM - ME) interface“. CCITT Recommendation V.25ter: “Serial As
43、ynchronous Automatic Dialling And Control“ CCITT Recommendation V.24: “List of definitions for interchange circuits between data terminal equipment (DTE) and data circuit-terminating equipment“. CCITT Recommendation E. 164: “Numbering plan for the ISDN era“ CCITT Recommendation E. 163: “Numbering pl
44、an for the international telephone service“ Pl 31 41 PI 61 71 81 91 lo1 ill U21 u31 u41 0.2 Abbreviations Abbreviations used in the present document are listed in GSM O1 .O4 I. ETSI (GSM 07.05 version 7.0.1 Release 1998) 9 ETSI TS 1 O0 585 V7.0.1 (1 999-07) V.24 CIRCUIT CTlO2 CTI 03 CT104 CT105 CT10
45、6 CTlO7 CT108.2 CTl O9 MOBILE EQUIPMENT TERMINAL EQUIPMENT DCE/DTE INTERFACE DESCRIPTION TE to MT MT to TE signal ground X X TXD X RXD X RTS X CTS X DSR X DTR X DCD X MOBILE TERMINATION (MT2) Figure 1: Reference configuration The mobile termination consists of the mobile equipment (ME) and the SIM.
46、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 the mobile termination implementation. 1 .I V.24 Interface Circuits The operatio
47、n of the CCITT V.24 blue book interface circuits for SMS is shown in table l.I/GSM 07.05. NOTE: CT105 at the TE is connected to CT133 at the MT 1 .I .I 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
48、permitted during Block Mode. CT104 All responseshndications from the MT to the TE are transferred across this circuit. Inband flow control is not permitted 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
49、 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. CT107 ETSI STD-ETSI TS 100 585-ENGL 1399 I 3400855 0428791 T54 I (GSM 07.05 version 7.0.1 Release 1998) 10 ETSI TS 100 585 V7.0.1 (1999-07) 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