1、 ETSI TS 1Digital cellular telecoUniversal Mobile TelUse of DaData Circuit terminterface for Sand Cell B(3GPP TS 27.0TECHNICAL SPECIFICATION127 005 V13.0.0 (2016communications system (Phaelecommunications System (LTE; Data Terminal Equipment - rminating Equipment (DTE - Dr Short Message Service (SMS
2、ll Broadcast Service (CBS) .005 version 13.0.0 Release 1316-01) hase 2+); (UMTS); DCE) MS) 13) ETSI ETSI TS 127 005 V13.0.0 (2016-01)13GPP TS 27.005 version 13.0.0 Release 13Reference RTS/TSGC-0127005vd00 Keywords GSM,LTE,UMTS ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.:
3、 +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can be downloaded from: http:/www.etsi.org/standards-search The present document may be made availa
4、ble in electronic versions and/or in print. The content of any electronic and/or print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any existing or perceived difference in contents between such versions and/or in print, the only p
5、revailing document is the print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this and other
6、ETSI documents is available at http:/portal.etsi.org/tb/status/status.asp If you find errors in the present document, please send your comment to one of the following services: https:/portal.etsi.org/People/CommiteeSupportStaff.aspx Copyright Notification No part may be reproduced or utilized in any
7、 form or by any means, electronic or mechanical, including photocopying and microfilm except as authorized by written permission of ETSI. The content of the PDF version shall not be modified without the written authorization of ETSI. The copyright and the foregoing restriction extend to reproduction
8、 in all media. European Telecommunications Standards Institute 2016. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPPTM and LTE are Trade Marks of ETSI registered for the benefit of its Members and of the 3GPP O
9、rganizational Partners. GSM and the GSM logo are Trade Marks registered and owned by the GSM Association. ETSI ETSI TS 127 005 V13.0.0 (2016-01)23GPP TS 27.005 version 13.0.0 Release 13Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared
10、 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 ETSI SR 000 314: “Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is
11、available from the ETSI Secretariat. Latest updates are available on the ETSI Web server (https:/ipr.etsi.org/). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existence of other IPRs not referenced in ETSI
12、 SR 000 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) has been produced by ETSI 3rd Generation Partnership Project (3GPP). The present document may refer to technical specifications or re
13、ports using their 3GPP identities, UMTS identities or GSM identities. These should be interpreted as being references to the corresponding ETSI deliverables. The cross reference between GSM, UMTS, 3GPP and ETSI identities can be found under http:/webapp.etsi.org/key/queryform.asp. Modal verbs termin
14、ology In the present document “shall“, “shall not“, “should“, “should not“, “may“, “need not“, “will“, “will not“, “can“ and “cannot“ are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of provisions). “must“ and “must not“ are NOT allowed in
15、ETSI deliverables except when used in direct citation. ETSI ETSI TS 127 005 V13.0.0 (2016-01)33GPP TS 27.005 version 13.0.0 Release 13Contents Intellectual Property Rights 2g3Foreword . 2g3Modal verbs terminology 2g3Foreword . 6g30 Scope 7g30.1 References 8g30.2 Abbreviations . 8g31 Reference config
16、uration . 9g31.1 V.24 Interface Circuits . 9g31.1.1 Circuit definitions for the SMS Block mode 9g31.1.2 Circuit definitions for the SMS Text and PDU modes . 10g32 SMS Block Mode . 10g32.1 Beginning and ending of SMS/CBS Block Mode 10g32.1.1 Beginning SMS/CBS Block Mode . 10g32.1.2 Returning from SMS
17、/CBS Block Mode To Default Mode . 11g32.2 Protocol description 11g32.3 Requesting messages already held in the Mobile Termination 12g32.3.1 Requesting List Of Messages 13g32.3.2 Requesting Transfer Of Messages 13g32.3.2.1 Requesting Transfer Of A Specific Message 13g32.3.2.2 Requesting Transfer Of A
18、ll Messages. 13g32.3.3 Requesting Diversion Of Incoming Messages 14g32.3.3.1 Requesting SMS Messages . 14g32.3.3.2 Requesting CBS Messages 14g32.3.3.3 Requesting indication of message arrival 14g32.3.4 Requesting Transfer Into Mobile Termination . 15g32.3.5 Requesting Deletion Of Messages 15g32.4 Me
19、ssage functional definitions and contents 16g32.4.1 Commands Issued By The Terminal Equipment 16g32.4.1.1 List Request. 17g32.4.1.2 Get Message 17g32.4.1.3 Get First Message 17g32.4.1.4 Get Next Message . 17g32.4.1.5 Transfer Inc SMS 17g32.4.1.6 Indicate Inc SMS . 17g32.4.1.7 Transfer Inc CBS 18g32.
20、4.1.8 Insert SMS. 18g32.4.1.9 Delete message 18g32.4.1.10 Unable to process 18g32.4.1.11 End SMS Mode . 18g32.4.1.12 Acknowledge Message 19g32.4.2 Responses/Indications Issued By The MT 19g32.4.2.1 Message List . 19g32.4.2.2 Message. 19g32.4.2.3 Get Message Failure 20g32.4.2.4 Inc Message. 20g32.4.2
21、.5 Message Arrived . 20g32.4.2.6 Insert SMS Complete 20g32.4.2.7 Insert SMS Failure 20g32.4.2.8 Delete Message Complete . 21g32.4.2.9 Delete Message Failure . 21g32.4.2.10 Unable To Process 21g32.4.2.11 End SMS Mode . 21g3ETSI ETSI TS 127 005 V13.0.0 (2016-01)43GPP TS 27.005 version 13.0.0 Release 1
22、32.4.2.12 Request Confirmed 21g32.5 General message format and information elements coding 21g32.5.1 Message Type . 21g32.5.2 Other Information Elements . 22g32.5.2.1 Short Message Reference 22g32.5.2.2 SMS Transfer Type . 23g32.5.2.3 Indication Type . 23g32.5.2.4 Insert Type 24g32.5.2.5 Short Messa
23、ge Index . 25g32.5.2.6 Short Message Data. 26g32.5.2.7 Cause . 28g32.5.2.8 Index Count . 29g32.5.2.9 CBS Transfer Type . 29g32.5.2.10 Page Index . 29g32.5.2.11 Last Short Message . 30g32.5.2.12 Confirm Type 30g32.5.2.13 TP-Failure Cause . 31g32.5.2.14 SM-Deliver-Ack 31g32.5.2.15 SM-Submit-Ack 32g33
24、Text Mode 32g33.1 Parameter Definitions . 32g33.2 General Configuration Commands . 35g33.2.1 Select Message Service +CSMS . 35g33.2.2 Preferred Message Storage +CPMS 36g33.2.3 Message Format +CMGF . 36g33.2.4 Enter SMS Block Mode Protocol +CESP . 37g33.2.5 Message Service Failure Result Code +CMS ER
25、ROR . 37g33.2.6 Informative Examples. 38g33.3 Message Configuration Commands . 38g33.3.1 Service Centre Address +CSCA . 38g33.3.2 Set Text Mode Parameters +CSMP 38g33.3.3 Show Text Mode Parameters +CSDH 39g33.3.4 Select Cell Broadcast Message Types +CSCB . 39g33.3.5 Save Settings +CSAS . 40g33.3.6 R
26、estore Settings +CRES . 40g33.3.7 Informative Examples. 41g33.4 Message Receiving and Reading Commands . 41g33.4.1 New Message Indications to TE +CNMI 41g33.4.2 List Messages +CMGL . 46g33.4.3 Read Message +CMGR 47g33.4.4 New Message Acknowledgement to ME/TA +CNMA 47g33.4.5 Informative Examples . 48
27、g33.5 Message Sending and Writing Commands . 49g33.5.1 Send Message +CMGS . 49g33.5.2 Send Message from Storage +CMSS 50g33.5.3 Write Message to Memory +CMGW . 50g33.5.4 Delete Message +CMGD 51g33.5.5 Send Command +CMGC 52g33.5.6 More Messages to Send +CMMS . 52g33.5.7 Informative Examples . 53g34 P
28、DU Mode 53g34.0 General . 53g34.1 List Messages +CMGL 54g34.2 Read Message +CMGR 54g34.3 Send Message +CMGS 54g34.4 Write Message to Memory +CMGW . 55g34.5 Send Command +CMGC . 56g34.6 New Message Acknowledgement to ME/TA +CNMA 56g34.7 Send Message from Storage +CMSS . 57g3Annex A (normative): Chara
29、cter Set Conversions for SMS Text Mode . 58g3ETSI ETSI TS 127 005 V13.0.0 (2016-01)53GPP TS 27.005 version 13.0.0 Release 13Annex B (informative): Example of processing a data block . 61g3B.1 Example state diagrams for the block receiver. 61g3B.2 Example of coding and decoding a data block . 61g3Ann
30、ex C (informative): Change History 68g3History 69g3ETSI ETSI TS 127 005 V13.0.0 (2016-01)63GPP TS 27.005 version 13.0.0 Release 13Foreword This Technical Specification has been produced by the 3rdGeneration Partnership Project (3GPP). The contents of the present document are subject to continuing wo
31、rk within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows: Version x.y.z where: x the first digit: 1 presented t
32、o TSG for information; 2 presented to TSG for approval; 3 Indicates TSG approved document under change control. y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc. z the third digit is incremented when editorial only changes have be
33、en incorporated in the specification; ETSI ETSI TS 127 005 V13.0.0 (2016-01)73GPP TS 27.005 version 13.0.0 Release 130 Scope The present document defines three interface protocols for control of SMS functions within a GSM/UMTS mobile telephone from a remote terminal via an asynchronous interface. Cl
34、ause 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 transfer of binary encoded user data is possible. Clause
35、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 the commands defined in clause 3 will also be useful f
36、or 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 software drivers based on AT command structures which d
37、o 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. The present document considers the mobile termination to be a single entit
38、y. Other 3GPP/GSM Technical Specifications describe the split of functionality between the mobile equipment and (U)SIM. The three “modes“ referred to above, are represented in figure 0.1. The “Block mode“ is a self contained mode in its own right, and when entered, control will remain within that mo
39、de 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 will operate in either the V.25ter “command“ state o
40、r “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 available to handle incoming and outgoing calls such as Da
41、ta or Facsimile. SMSTextModeSMSPDUModeSMS Block ModeV.25ter“command“ stateand “on-line command“ stateFigure 0.1: 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 rece
42、ived from a TE, before passing it on, except where 3GPP TS 23.040 3 or 3GPP TS 23.041 4 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 to display characters coded in particular coding
43、schemes. In this case, the mobile shall behave as described in 3GPP TS 23.038 2 and assume the coding scheme to be the GSM 7 bit default alphabet. ETSI ETSI TS 127 005 V13.0.0 (2016-01)83GPP TS 27.005 version 13.0.0 Release 130.1 References The following documents contain provisions which, through r
44、eference in this text, constitute provisions of the present document. References are either specific (identified 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 versio
45、n applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document in the same Release as the present document. 1 Void. 2 3GPP TS 23.038: “Alphabets and language-specific information“. 3 3GPP TS 23.04
46、0: “Technical realization of the Short Message Service (SMS) “. 4 3GPP TS 23.041: “Technical realization of the Cell Broadcast Service (CBS)“. 5 3GPP TS 24.008: “Mobile Radio Interface Layer 3 specification; Core Network Protocols; Stage 3“. 6 3GPP TS 24.011: “Short Message Service (SMS) support on
47、mobile radio interface“. 7 3GPP TS 24.012: “Cell Broadcast Service (CBS) support on the mobile radio interface“. 8 3GPP TS 27.001: “General on Terminal Adaptation Functions (TAF) for Mobile Stations (MS)“. 9 3GPP TS 27.007: “AT command set for User Equipment (UE)“. 10 3GPP TS 51.011: “Specification
48、of the Subscriber Identity Module - Mobile Equipment (SIM - ME) interface“. 11 ITU-T Recommendation V.25ter: “Serial asynchronous automatic dialling and control“. 12 ITU-T Recommendation V.24: “List of definitions for interchange circuits between data terminal equipment (DTE) and data circuit-termin
49、ating equipment (DCE)“. 13 ITU-T Recommendation E.164: “The international public telecommunication numbering plan“. 14 ITU-T Recommendation E.163: “Numbering plan for the international telephone service“. 15 3GPP TR 21.905: “Vocabulary for 3GPP Specifications“. 16 3GPP TS 31.102: “Characteristics of the USIM application“. 0.2 Abbreviations For the purposes of the present document, the abbreviations given in 3GPP TR 21.905 15 and the following apply. EVPF Enhanced Validity Period Format ETSI ETSI TS 127 005 V13.0.0 (2016-01)93GPP