1、 STD-ETSI GSM 07-05-ENGL 1998 3400855 02b8719 877 D GSM GSM 07.05 January 1998 Version 5.5.0 Source: SMG Reference: RGTS/SMG-O40705QR3 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.5.0) ETSI European Telecommunications Standards Institute ETSI Secretariat Postal address: F-O6921 Sophia Antipolis CEDE
3、X - FRANCE Office address: 650 Route des Lucioles - Sophia Antipoiis - Vaibonne - FRANCE X.400: c=fr, a=atias, p=etsi, s=cecretariat - Internet: secretariatQetsi.fr Tel .: +33 4 92 94 42 O0 - Fax: +33 4 93 65 47 16 Copyright Notlfication: No part may be reproduced except as authorized by written per
4、mission. The copyright and the foregoing restriction extend to reproduction in all media. O European Telecommunications Standards Institute 1998. All rights reserved. COPYRIGHT European Telecommunications Standards InstituteLicensed by Information Handling Services - STD-ETSI GSM 07.05-ENGL 1778 340
5、0855 02bb720 577 Page 2 GSM 07.05 version 5.5.0: January 1998 Whilst every care has been taken in the 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 Supp
6、ort Dept.“ at the address shown on the title page. COPYRIGHT European Telecommunications Standards InstituteLicensed by Information Handling ServicesSTD-ETSI GSM 07.05-ENGL 1448 W 3400855 02b872L 425 W Page 3 GSM 07.05 version 5.5.0: January 1998 Contents Foreword 7 Introduction -_ 7 8 O Scope 9 o .
7、 1 Normative references . 10 0.2 Abbreviations . 10 1 Reference configuration 11 V.24 Interface Circuits 11 1.1.1 Circuit definitions for the SMS Block mode . 11 1.1.2 Circuit definitions for the SMS Text and PDU modes . 12 1.1 2 SMS Block Mode . “.“ . 12 2.1 Beginning and ending of SMS/CBS Block Mo
8、de . 12 2.1.1 Beginning SMS/CBS Block Mode . 12 2.1.2 Returning from SMS/CBS Block Mode To Default Mode 12 2.2 Protocol description 13 2.3 Requesting messages already held in the Mobile Termination . 14 2.3.1 Requesting List Of Messages . 14 2.3.2 Requesting Transfer Of Messages . 14 2.3.2.1 Request
9、ing Transfer Of A Specific Message 15 2.3.2.2 Requesting Transfer Of All Messages . 15 Requesting Diversion Of Incoming Messages 15 2.3.3.1 Requesting SMS Messages 15 2.3.3.2 Requesting CBS Messages . 16 2.3.3.3 Requesting indication of message arrival 16 2.3.4 Requesting Transfer Into Mobile Termin
10、ation . 17 2.3.5 Requesting Deletion Of Messages 17 Message functional definitions and contents . 17 2.4.1 2.3.3 2.4 Commands Issued By The Terminal Equipment 18 2.4.1.1 List Request . 18 2.4.1.2 Get Message . 19 2.4.1.3 Get First Message . 19 2.4.1.4 Get Next Message . 19 2.4.1.5 Transfer Inc SMS .
11、 19 2.4.1.6 Indicate Inc SMS 19 2.4.1.7 Transfer Inc CBS . 19 2.4.1.8 insert SMS . 19 2.4.1.9 Delete message . 20 2.4.1.10 Unable to process 20 2.4.1.11 End SMS Mode 20 2.4.1.12 Acknowledge Message 20 Responses/lndications Issued By The MT 20 2.4.2.1 Message List 21 2.4.2.2 Message 21 Get Message Fa
12、ilure . 21 2.4.2.4 Inc Message 21 2.4.2.5 Message Arrived 22 Insert SMS Complete 22 Insert SMS Failure . 22 Delete Message Complete 22 Delete Message Failure . 22 Unable To Process 22 End SMS Mode 23 2.4.2.12 Request Confirmed 23 2.4.2 2.4.2.3 2.4.2.6 2.4.2.7 2.4.2.8 2.4.2.9 2.4.2.1 O 2.4.2.1 1 2.5
13、General message format and information elements coding 23 COPYRIGHT European Telecommunications Standards InstituteLicensed by Information Handling ServicesSTD-ETSI GSM 07.05-ENGL L778 3q00855 02b8722 3bL D Page 4 GSM 07.05 version 5.5.0: January 1998 2.5.1 Message Type 23 2.5.2 Other Information El
14、ements 24 2.5.2.1 Short Message Reference 24 2.5.2.2 SMS Transfer Type . 25 2.5.2.3 Indication Type 25 2.5.2.4 Insert Type 26 2.5.2.5 Short Message Index 27 2.5.2.6 Short Message Data . 29 2.5.2.7 Cause 31 2.5.2.8 Index Count . 32 2.5.2.9 CBS Transfer Type . 32 2.5.2.10 Page Index 32 2.5.2.1 1 Last
15、Short Message 33 2.5.2.12 Confirm Type 33 2.5.2.13 TP-Failure Cause 34 2.5.2.14 SM-Deliver-Ack . 34 2.5.2.15 SM-Submit-Ack . 35 3 Text Mode 35 3.1 Parameter Definitions . 35 3.2 General Configuration Commands 38 3.2.1 Select Message Service +CSMS 38 3.2.2 Preferred Message Storage +CPMS 39 3.2.3 3.2
16、.4 Enter SMS Block Mode Protocol +CESP 40 3.2.5 Message Service Failure Result Code +CMS ERROR 40 3.2.6 Informative Examples . 41 3.3.1 Service Centre Address +CSCA . 41 3.3.2 Set Text Mode Parameters +CSMP . 41 3.3.3 Show Text Mode Parameters +CSDH 42 3.3.4 3.3.5 Save Settings +CSAS . 43 3.3.6 Mess
17、age Format +CMGF . 39 3.3 Message Configuration Commands 41 Select Cell Broadcast Message Types +CSCB 42 Restore Settings +CRES 43 3.3.7 Informative Examples . 43 Message Receiving and Reading Commands 44 New Message Indications to TE +CNMI . 44 List Messages +CMGL . 48 New Message Acknowledgement t
18、o ME/TA +CNMA . 49 Message Sending and Writing Commands . 51 Send Message +CMGS 51 Send Message from Storage +CMSS 52 3.4 3.4.1 3.4.2 3.4.3 Read Message +CMGR . 49 3.4.4 3.4.5 Informative Examples . 50 3.5.1 3.5.2 3.5.3 Write Message to Memory +CMGW 53 3.5.4 Delete Message +CMGD 53 3.5.5 Send Comman
19、d +CMGC 53 3.5.6 3.5.7 Informative Examples . 54 3.5 More Messages to Send +CMMS $(TE1 R97)$ 54 4 PDU Mode . 55 4.1 4.2 4.3 4.4 4.5 4.6 4.7 List Messages +CMGL 55 Write Message to Memory +CMGW . 57 Read Message +CMGR 56 Send Message +CMGS 56 Send Command +CMGC 57 New Message Acknowledgement to MERA
20、+CNMA . 58 Send Message from Storage +CMSS . 59 Annex A (Normative): Character Set Conversions for SMS Text Mode 60 Annex B (Informative): Example of processing a data block 63 Example state diagrams for the block receiver . 63 B.l COPYRIGHT European Telecommunications Standards InstituteLicensed by
21、 Information Handling ServicesSTD- ETSI B .2 GSM 3Li00855 02b8723 2TA Page 5 GSM 07.05 version 5.5.0: January 1998 Example of coding and decoding a data block 63 Annex C (Informative): Change History 67 History . 68 COPYRIGHT European Telecommunications Standards InstituteLicensed by Information Han
22、dling ServicesPage 7 GSM 07.05 version 5.5.0: January 1998 Feature Technical enhancement and improvement: New optional command Foreword Designator $(TE1 R97)$ This Global System for Mobile communications Technical Specification (GTS) has been produced by the Special Mobile Group (SMG) of the Europea
23、n Telecommunications Standards Institute (ETSI). This GTS 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 cyst em. The contents of this GTS are subjec
24、t to continuing work within SMG and may change following formal SMG approval. Should SMG modify the contents of this GTS it will then be republished by ETSI with an identifying change of release date and an increase in version number as follows: Version 5.x.y where: y the third digit is incremented
25、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, corrections, updates, etc. The specification from which this ETS has been derived was originally based on CEPT documentation, hence t
26、he presentation of this ETS may not be entirely in accordance with the ETSVPNE Rules. Introduction The present document includes references to features which were introduced into the GSM Technical specifications after Release 96 of GSM Phase 2+. The text that is relevant, if the feature is supported
27、, is marked with designators. GSM 10.01 defines the correspondence between these features and GSM yearly releases. The following table lists all features that were introduced after Release 96 and have impacted this specification: Previous page is blank COPYRIGHT European Telecommunications Standards
28、 InstituteLicensed by Information Handling Services1998 3q00855 02b725 O70 Page 9 GSM 07.05 version 5.5.0: January 1998 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
29、 a remote terminal via an asynchronous interface. Clause 2 defines a binary protocol (“Block 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 trans
30、fer of binary encoded user data is possible. Clause 3 defines a character-based interfaced 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 th
31、e commands defined in clause 3 will also be useful for implementations of clause 2 and/or clause 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 sof
32、tware drivers based on AT command structures which do not understand the content of the message 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 con
33、siders the mobile termination to be a single entity. Other GSM Technical Specifications describe 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,
34、and when entered, control will remain within that mode until the procedures to exit the mode are executed, after which control 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 w
35、ill operate in either the V.25ter “command” state or “on-line command state. The “Text” and “PDU” 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 availabl
36、e to handle incoming and outgoing calls such as Data or Facsimile. “command” state and “on-line command” state Figure O.l/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
37、 an SMS message received from a TE, before passing it on, 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 may be unable Previous page is blank COPYRIGHT European T
38、elecommunications Standards InstituteLicensed by Information Handling Services STD-ETSI GSfl 07.05-ENGL 1998 m 3400855 02b872b TO7 I Page 10 GSM 07.05 version 5.5.0: January 1998 to display characters coded in particular coding schemes. In this case, the mobile shall behave as described in GSM 03.38
39、 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 publications. These normative references are cited at the appropriate places in the text and the publications are listed hereafter. For d
40、ated 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 undated references, the latest edition of the publication referred to applies. 31 71 93 GSM O1 .O4 (ETR 350): “Digital cellular telecommuni
41、cations system (Phase 2+); Abbreviations and acronyms“. GSM 03.38 (ETS 300 900): “Digital cellular telecommunications system (Phase 2+); Alphabets and language-specific information“. GSM 03.40 (ETS 300 901): “Digital cellular telecommunications system (Phase 2+); Technical realization of the Short M
42、essage Service (SMS) Point-to- Point (PP)“. GSM 03.41 (ETS 300 902): “Digital cellular telecommunications system (Phase 2+); Technical realization of Short Message Service Cell Broadcast (SMSCB)“. GSM 04.08 (ETS 300 940): “Digital cellular telecommunications system (Phase 2+); Mobile radio interface
43、 layer 3 specification“. GSM 04.1 1 (ETS 300 942): “Digital cellular telecommunications system (Phase 2+); Point-to-Point (PP) Short Message Service (SMS) support on mobile radio interface“. GSM 04.12 (ETS 300 943): “Digital cellular telecommunications system (Phase 2+); Short Message Service Cell B
44、roadcast (SMSCB) support on the mobile radio interface“. GSM 07.01 (ETS 300 913): “Digital cellular telecommunications system (Phase 2+); General on Terminal Adaptation Functions (TAF) for Mobile Stations (MS)“. GSM 07.07 (ETS 300 916): “Digital cellular telecommunications system (Phase 2+); AT comm
45、and set for GSM Mobile Equipment (ME)“. GSM 11 .ll (ETS 300 977): “Digital cellular telecommunications system (Phase 2+); Specification of the Subscriber Identity Module - Mobile Equipment (SIM - ME) interface“. CCITT Recommendation V.25ter: “Serial Asynchronous Automatic Dialling And Control“ CCITT
46、 Recommendation V.24: “List of definitions for interchange circuits between data terminal equipment (DTE) and data circuit-terminating equipment“. i31 CCITT Recommendation E.164: “Numbering plan for the ISDN era“. 11 41 0.2 Abbreviations CCITT Recommendation E.163: “Numbering plan for the internatio
47、nal telephone service“. Abbreviations used in this specification are listed in GSM 01.04 l. COPYRIGHT European Telecommunications Standards InstituteLicensed by Information Handling ServicesPage 11 GSM 07.05 version 5.5.0: January 1998 V.24 CIRCUIT CTlO2 CTlO3 CT104 CT105 CT106 CT107 CT108.2 CTl O9
48、1 Reference configuration DESCRIPTiON TE to MT MT to TE signal ground X X TXD X RXD X RTS X CTS X DS R X DTR X DCD X MOBILE TERMINATION (MT2) Figure 1: Reference configuration The mobile termination consists of the mobile equipment (ME) and the SIM. Messages may be stored in either, but this specifi
49、cation 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.1 V.24 Interface Circuits The operation of the CCITT V.24 blue book interface circuits for SMS is shown in table l.l/GSM 07.05. Table l.l/GSM 07.05: Use of V.24 interface circuits NOTE: CT105 at the TE is connected to CT133 at the MT 1.1.1 Circuit definitions for the SMS Block mode CT103 All commands from the TE to the MT are transferred across this circuit. Inband