SMS Document
SMS Document
0 (2000-12)
TSM
2 TSM 04.11 V1.0.0 (2000-12)
Contents
Intellectual Property Rights ................................................................................................................................ 6
Foreword ............................................................................................................................................................ 6
1 Scope ........................................................................................................................................................ 6
1.1 Normative references ......................................................................................................................................... 6
1.2 Abbreviations..................................................................................................................................................... 7
2 Overview of Short Message Service (SMS) support................................................................................ 7
2.1 Protocols and protocol architecture ................................................................................................................... 7
2.2 Use of channels .................................................................................................................................................. 8
2.3 Layer 2 SAPI 3 handling for circuit switched TD-SCDMA.............................................................................. 9
2.4 Layer 2 (LLC) packet switched TD-SCDMA support ...................................................................................... 9
3 Service definition ................................................................................................................................... 10
3.1 General............................................................................................................................................................. 10
3.2 Service provided by the CM-sublayer ............................................................................................................. 10
3.2.1 Definition of primitives on the UE side ..................................................................................................... 11
3.2.1.1 MNSMS-ABORT-REQuest ................................................................................................................. 11
3.2.1.2 MNSMS-DATA-REQuest ................................................................................................................... 11
3.2.1.3 MNSMS-DATA-INDication ................................................................................................................ 11
3.2.1.4 MNSMS-ESTablish-REQuest .............................................................................................................. 12
3.2.1.5 MNSMS-ESTablish-INDication .......................................................................................................... 12
3.2.1.6 MNSMS-ERROR-INDication .............................................................................................................. 12
3.2.1.7 MNSMS-RELease-REQuest ................................................................................................................ 12
3.2.2 Definition of primitives on the network side ............................................................................................. 12
3.2.2.1 MNSMS-ABORT-REQuest ................................................................................................................. 12
3.2.2.2 MNSMS-DATA-REQuest ................................................................................................................... 13
3.2.2.3 MNSMS-DATA-INDication ................................................................................................................ 13
3.2.2.4 MNSMS-ESTablish-REQuest .............................................................................................................. 13
3.2.2.5 MNSMS-ESTablish-INDication .......................................................................................................... 13
3.2.2.6 MNSMS-ERROR-INDication .............................................................................................................. 13
3.2.2.7 MNSMS-RELease-REQuest ................................................................................................................ 13
3.3 Service provided by SM-RL ............................................................................................................................ 13
3.3.1 Definition of primitives on the UE side ..................................................................................................... 14
3.3.1.1 SM-RL-DATA-REQuest...................................................................................................................... 14
3.3.1.2 SM-RL-DATA-INDication .................................................................................................................. 14
3.3.1.3 SM-RL-MEMORY-AVAILABLE-REQuest ....................................................................................... 14
3.3.1.4 SM-RL-REPORT-REQest ................................................................................................................... 15
3.3.1.5 SM-RL-REPORT-INDication .............................................................................................................. 15
3.3.2 Definition of primitives on the network side ............................................................................................. 15
3.3.2.1 SM-RL-DATA-REQuest...................................................................................................................... 15
3.3.2.2 SM-RL-DATA-INDication .................................................................................................................. 15
3.3.2.3 SM-RL-MEMORY-AVAILABLE-INDication ................................................................................... 15
3.3.2.4 SM-RL-REPORT-REQuest ................................................................................................................. 16
3.3.2.5 SM-RL-REPORT-INDication .............................................................................................................. 16
4 CM-procedures ....................................................................................................................................... 16
4.1 General............................................................................................................................................................. 16
4.2 Short Message Control states........................................................................................................................... 16
4.2.1 SMC-CS states at the UE side of the radio interface ................................................................................. 16
4.2.1.1 Mobile Originating Case ...................................................................................................................... 16
4.2.1.1.1 MO-Idle (State 0) ............................................................................................................................ 16
4.2.1.1.2 MO-MM-connection pending (State 1) .......................................................................................... 16
4.2.1.1.3 MO-Wait for CP-ACK (State 2) ..................................................................................................... 16
4.2.1.1.4 MO-MM-connection established (State 3) ..................................................................................... 16
4.2.1.2 Mobile Terminating case ...................................................................................................................... 17
4.2.1.2.1 MT-Idle (State 0) ............................................................................................................................ 17
3 TSM 04.11 V1.0.0 (2000-12)
11 Timers .................................................................................................................................................... 38
Annex A (informative): Arrow diagrams ..................................................................................................... 39
Annex B (normative): SDL-description of the CM-layer ............................................................................ 42
B.1 Introduction ............................................................................................................................................ 42
Foreword
This Technical Specification (TS) defines the Short Message Service (SMS) support on mobile radio interface within
the TD-SCDMA telecommunications system.
The contents of this Technical Specification (TS) are subject to continuing work within CWTS WG2. it will be re-
released by CWTS with an identifying change of release date and an increase in version number as follows:
Version x.y.z
where:
y the second digit is incremented for all other types of changes, i.e. technical enhancements, corrections,
updates, etc.;
z the third digit is incremented when editorial only changes have been incorporated in the specification.
Date of withdrawal of any conflicting National Standard (dow): xx months after doa
1 Scope
This Technical Specification (TS) specifies the procedures used across the mobile radio interface by the signalling layer
3 function Short Message Control (SMC) and Short Message Relay function (SM-RL) for both circuit switched and
packet switched modes.
- References are either specific (identified by date of publication, edition number, version number, etc.) or non
specific.
- A non-specific reference to a TS shall also be taken to refer to later versions published as TS with the same
number.
7 TSM 04.11 V1.0.0 (2000-12)
- For this Release document, references to TSM documents are for Release versions (version x.y.z);
references to GSM documents are for Release 1997 versions (version 6.x.y).
[2] GSM 03.40: "Digital cellular telecommunications system (Phase 2+); Technical realization of the
Short Message Service (SMS) Point-to-Point (PP)".
[4] GSM 04.07: " 3G digital cellular telecommunications system; Mobile radio interface signalling
layer 3; General aspects".
[6a] GSM 04.64: "Digital cellular telecommunications system (Phase 2+); General Packet Radio
Service (GPRS); Logical Link Control (LLC)".
[6] ISO 7498: "Information processing systems - Open Systems Interconnection - Basic Reference
Model".
1.2 Abbreviations
Abbreviations used in this TS are listed in TSM 01.04.
This TS (Technical Specification) describes the procedures necessary to support the Short Message Service between the
UE and the MSC or SGSN and vice versa, as described in GSM 03.40.
The procedures are based on services provided by the Mobility Management sublayer as described in
TSM 04.07/04.08 for circuit switched services and the Logical Link Control layer described in TSM 04.64 for packet
switched services.
MSC UE
SM-AL
SM-TL
SM-RL SMR <⎯⎯⎯⎯⎯⎯ SM-RP protocol ⎯⎯⎯⎯⎯> SMR
CM-sublayer SMC <⎯⎯⎯⎯⎯⎯ SM-CP protocol ⎯⎯⎯⎯⎯> SMC
MM-sublayer
8 TSM 04.11 V1.0.0 (2000-12)
RR-sublayer
The hierarchical model in Figure 2.1b shows the layer structure of the SGSN and the UE.
SGSN UE
SM-AL
SM-TL
SM-RL SMR <⎯⎯⎯⎯⎯⎯ SM-RP protocol ⎯⎯⎯⎯⎯> SMR
CM-sublayer SMC <⎯⎯⎯⎯⎯⎯ SM-CP protocol ⎯⎯⎯⎯⎯> SMC
LLC-sublayer
GRR-sublayer
The CM-sublayer, in terms of the Short Message Service Support, provides services to the Short Message Relay Layer.
On the UE-side the Short Message Relay Layer provides services to the Short Message Transfer Layer. The Short
Message Relay Layer is the upper layer on the network side (MSC or SGSN), and the SM-user information elements
are mapped to TCAP/MAP.
The peer protocol between two SMC entities is denoted SM-CP, and between two SMR entities, SM-RP.
Abbreviations:
Table 2.1/TSM 04.11: Channels used for short message transfer over circuit switched services
The short message service for packet switched mode shall be supported by a PDTCH.
9 TSM 04.11 V1.0.0 (2000-12)
The Radio Resource Management (RR reference TSM 04.08) in the User Equipment and on the network side (i.e. in
the BSC) shall establish the acknowledged mode of operation on SAPI 3 whenever needed, i.e. when a message
requiring SAPI 3 transfer shall be transmitted.
RR shall control the layer 2 also for SAPI 3, and keep knowledge of the mode.
The network side may initiate release of the acknowledged mode for SAPI 3 either explicitly (by the use of DISC- and
UA-frames, see TSM 04.06) or indirectly by channel release (see TSM 04.08).
This means:
- the User Equipment side will initiate establishment of SAPI 3 acknowledged mode in the case of mobile
originating short message transfer;
- the network side will initiate establishment of SAPI 3 acknowledged mode in the case of mobile terminating
short message transfer;
- the network side may choose to keep the channel and the acknowledged mode of operation to facilitate transfer
of several short messages for or from the same User Equipment. The queuing and scheduling function for this
should reside in the MSC.
Packet switched mode shall use the unacknowledged mode of LLC frame transfer as described in GSM04.64, and shall
use SAPI 7 to identify the SMS Logical Link Entity within the LLC layer.
A description of the different packet switched mode UE classes can be found in TSM 03.60, and a brief overview is
given below:-
- Class A/B UEs may be able to send and receive short messages using either the MM sublayer (using SACCH,
FACCH or SDCCH) or the LLC layer (using PDTCH).
- Class C UEs may be able to send and receive short messages using only the LLC layer (using the PDTCH). The
capability for packet switched mode -attached class-C UEs to receive and transmit SMS messages is optional.
The GSMS entity for packet switched mode class A/B UE is shown in Figure 3. The GSMS shall communicate with
the MM entity via the GMMSMS-SAP for packet switched mode Class A/B MO SMS, in order to ascertain which
transport service to use.
SMS delivery via packet switched mode is normally a more radio resource efficient method than SMS delivery via
CS, i.e. circuit switched mode. The delivery path for MO SMS is selected by the UE.
10 TSM 04.11 V1.0.0 (2000-12)
MNSMS-SAP
SMSMM
SMC-GP SMC-CS
LLSMS-SAP MMSMS-SAP
GMMSMS-SAP
Figure 3/TSM 04.11: GSMS entity for packet switched mode Class A/B UE
3 Service definition
3.1 General
The layer service is described as a set of service primitives. These service primitives are abstractions and attempt to
capture only those details of the interaction between the entities that are aspects of the layer service itself. A service
primitive neither specifies nor constrains the implementation of entities or the interface between them.
The general syntax of a primitive and the initials of them are in line with the 04-series of TSM and GSM Technical
Specifications.
NOTE: In order to limit the number of primitives and state definitions to a reasonable amount, a description
method has been chosen which does not claim to be totally in line with the formal description method of
the layered ISO reference model (ISO 7498) for Open Systems Interconnection.
The CM-sublayer services are provided using layer specific functions and lower layer services offered to the
CM-sublayer, controlled by short message service control entities called SMCs.
An SMC entity in the UE communicates with an SMC entity in the MSC or SGSN by means of a peer protocol, SM-CP
(Short Message Service Control Protocol). The arrow diagrams in annex A give an overview of the messaging on the
CM-sublayer during a short message transfer.
A User Equipment supporting the Short Message Service shall have a minimum of two SMC entities per service type
(i.e. two for CS (Circuit Switched mode) and two for PS (Packet Switched mode)). This enables the UE to receive MT
messages during an MO message transfer.
To ensure that an UE having the minimum of two SMC entities is able to receive MT messages during an MO message
transfer, and to send MO messages during MT message transfer, parallel message transfer in the same direction is
prohibited. This means that the SMC entities shall not simultaneously perform messaging in the same direction. The
rules for concatenation of message transfers are described in subclause 5.4.
The MSC or SGSN shall have a minimum of two SMC entities available each during an MT message transfer to a user
equipment, one being reserved for MO message transfer. In an MO message transfer, the MSC or SGSN shall have one
SMC entity reserved for handling of an MT message.
11 TSM 04.11 V1.0.0 (2000-12)
3.2.1.1 MNSMS-ABORT-REQuest
A request from an SMR entity to release a CM-connection in abnormal cases.
When the CM-sublayer receives this request, and if the MM connection exists, it shall form and send the CP-ERROR
message. Irrespective of whether or not the CP-ERROR message was sent, the CM-sublayer shall then release the lower
layer services.
3.2.1.2 MNSMS-DATA-REQuest
A request from an SMR entity to send a RPDU on the established CM-connection.
The SMC entity forms the CP-DATA message, the user information element being the RPDU, and transfers the
message by means of the lower layer services.
NOTE: After reception of an incoming RP-DATA, the SMR entity typically returns the acknowledgement
RP-ACK, or an error indication, RP-ERROR, to the Service Centre.
3.2.1.3 MNSMS-DATA-INDication
An indication used by the SMC entity to pass the user information element (RPDU) of a received CP-DATA message
to SM-RL.
NOTE: The RPDU is typically an RP-ACK or an RP-ERROR. Normally this service is used to report the
outcome of either a MO message transfer attempt or a mobile station memory available notification
attempt.
12 TSM 04.11 V1.0.0 (2000-12)
3.2.1.4 MNSMS-ESTablish-REQuest
A request from an SMR entity to establish a CM-connection. The request contains a RP-DATA UNIT as a parameter. It
implies the:
3.2.1.5 MNSMS-ESTablish-INDication
An indication used by the SMC entity to pass the SM-user information (RPDU) of a received CP-DATA message to
SM-RL. It implies completion of the establishment of the CM-connection for this SMR entity.
3.2.1.6 MNSMS-ERROR-INDication
An indication used by the SMC entity to pass error information to SM-RL. The error information may be local or
relayed by the CP-ERROR message.
3.2.1.7 MNSMS-RELease-REQuest
A request to release the CM-connection (if it still exists).
Use of this service primitive implies release of the associated CM and MM-connections.
Table 3.2/TSM 04.11 gives an overview of the service primitives and linked main parameter. All MNSMS service
primitives defined in this subclause are passed to an SMC-entity.
3.2.2.1 MNSMS-ABORT-REQuest
A request from an SMR entity to release a CM-connection in abnormal cases.
When the CM-sublayer receives this request, it may form and send the CP-ERROR message to release the connection.
Irrespective of whether or not the CP-ERROR message was sent, the CM-sublayer shall then release the lower layer
services.
13 TSM 04.11 V1.0.0 (2000-12)
3.2.2.2 MNSMS-DATA-REQuest
A request from an SMR entity to send a RPDU on the established CM-connection.
The SMC entity forms the CP-DATA message, the user information element being the RPDU, and transfers the
message by means of the lower layer services.
NOTE: After reception of an incoming RP-DATA or RP-SMMA the RPDU typically returns the
acknowledgement, RP-ACK, or an error indication RP-ERROR, to the User Equipment.
3.2.2.3 MNSMS-DATA-INDication
An indication used by the SMC entity to pass the user information element (RPDU) of a received CP-DATA message
to SM-RL.
NOTE: The RPDU is typically an RP-ACK or an RP-ERROR. Normally this is used to report the outcome of a
MT messaging attempt.
3.2.2.4 MNSMS-ESTablish-REQuest
A request from an SMR entity to transmit a RPDU, containing the SM-user information element; it implies the:
3.2.2.5 MNSMS-ESTablish-INDication
An indication used by the SMC entity to pass the SM-user information (RPDU) of a received CP-DATA message to
SM-RL; it implies completion of the establishment of the CM-connection for this SMR entity.
3.2.2.6 MNSMS-ERROR-INDication
An indication used by the SMC entity to pass error information to SM-RL. The error information may be local or
relayed by the CP-ERROR message.
3.2.2.7 MNSMS-RELease-REQuest
A request to release the CM-connection (if it still exists).
The Short Message Relay Layer services are provided using layer specific functions and lower layer services offered to
the Short Message Relay Layer, controlled by short message control entities called SMRs.
An SMR entity in the UE communicates with an SMR entity in the MSC by means of a peer protocol, SM-RP (Short
Message Relay Protocol). The arrow diagrams in annex C give an overview of the messaging on the Short Message
Relay Layer used for the Short Message Service. The diagrams in annex C indicate a layer RL. This is not a layer, but
the functional interface to the fixed network. The SM-RL is the upper layer in the MSC. Consequently the service
primitives passed between SM-RL and RL indicate the interworking function.
14 TSM 04.11 V1.0.0 (2000-12)
The requirements on the SM-RL are the same as for the CM-sublayer. This means that there is exactly one SMR entity
for each SMC entity, operating as described in subclause 3.2.
Table 3.3/TSM 04.11: SM-RL service primitives on the user equipment side
3.3.1.1 SM-RL-DATA-REQuest
A request from the SM-TL entity to pass the SMS-TPDU and necessary control information to SM-RL; it implies:
The purpose of this service is to relay the SMS-TPDU from the user equipment to the peer entity in the MSC.
3.3.1.2 SM-RL-DATA-INDication
An indication used by the SMR entity to pass the SMS-TPDU and necessary control information of a received
RP-DATA message to SM-TL.
3.3.1.3 SM-RL-MEMORY-AVAILABLE-REQuest
When received without a parameter, this is a request from the SM-TL entity to pass the necessary control information
to SM-RL; it implies:
- establishment of an SM-RL-connection for transfer of the notification to the network that the mobile has
memory available to receive one or more short messages;
The SM-TL entity may abort the transmission of an RP-SM-MEMORY-AVAILABLE message by use of a
SM-RL-MEMORY-AVAILABLE-REQuest with the added parameter, SMS-MEM-NOTIF-ABORT, being present.
This parameter is, of course, defined only on the interface between the SM-TL and SMR entities within the user
equipment. Use of this request with the added parameter will have no effect on messages already given to the lower
layers for transmission, but will only abort retransmission of the RP-SM-MEMORY-AVAILABLE message by the
SMR entity.
3.3.1.4 SM-RL-REPORT-REQest
A request used by the SM-TL to relay the RP-ACK or RP-ERROR message from the user equipment to the network.
This implies transfer of the RP-ACK or RP-ERROR message as an RPDU in an MNSMS-DATA-Req.
3.3.1.5 SM-RL-REPORT-INDication
An indication used by the SMR entity to pass an acknowledgement (RP-ACK) or error information to SM-TL. The
error information may be local or relayed by the RP-ERROR message; it consists of an appropriate cause and
optionally extended diagnostic information.
Table 3.4/TSM 04.11 gives an overview of the service primitives and linked main parameter. All SM-RL service
primitives defined in this subclause are passed on an SM-RL-connection.
3.3.2.1 SM-RL-DATA-REQuest
A request from RL to pass the SMS-TPDU to SM-RL; it implies:
The purpose of this service is to relay the SMS-TPDU from the MSC to the peer entity in the user equipment.
3.3.2.2 SM-RL-DATA-INDication
An indication used by the SMR entity to pass the SMS-TPDU of a received RP-DATA message to RL.
3.3.2.3 SM-RL-MEMORY-AVAILABLE-INDication
An indication used by the SMR entity to pass to RL the notification to the network that the mobile has memory
available to receive one or more short messages.
16 TSM 04.11 V1.0.0 (2000-12)
3.3.2.4 SM-RL-REPORT-REQuest
A request used by RL (the network interworking function) to relay the RP-ACK or RP-ERROR message from the
network to the user equipment. This implies transfer of the RP-ACK or RP-ERROR message as an RPDU in an
MNSMS-DATA-Req.
3.3.2.5 SM-RL-REPORT-INDication
An indication used by the SMR entity to pass an acknowledgement (RP-ACK) or error information to RL. The error
information may be local or relayed by the RP-ERROR message.
4 CM-procedures
4.1 General
This clause describes the procedures used by the SMC entity on the Connection Management sublayer. An SMC entity
communicates with a corresponding peer entity using an MM-connection for circuit switched mode or the LLC layer
for packet switched mode.
Multiple MM-connections may be established at the same time, allowing parallel transactions. The description of the
procedures is related to one single transaction.
For circuit switched mode, the CM-procedures described can only be performed if an MM-connection has been
established between the user equipment and the network. For packet switched mode, no MM-connection has to be
established, and thus the CM procedures for packet switched mode reflect this. Detailed SDL diagrams for SMC
entities are contained in annex B.
The procedures of subclause 4.3 are described with respect to one particular instance of an SMC entity. Different SMC
entities are identified by their Transaction Identifier. Messages with Transaction Identifiers that do not correspond to
this particular instance of the SMC entity are not treated by it.
The SMC entity on the originating side requests the MM-sublayer to establish an MM-connection, and enters the
MM-Connection Pending state.
After completion of the MM-connection establishment, a confirmation is given to the originating side to indicate that
the MM sublayer is ready for RPDU transfer.
The MM-connection establishment is indicated to the SMC entity at the destination side when the CP-DATA message
has been received by the MM-sublayer (in line with TSM 04.08). The destination side SMC entity then sends a
CP-ACK and enters the MM-Connection Established state.
The value of TC1* may vary with the length of the CP-DATA message and the channel type that is being used for its
transmission. However, the value of TC1* shall be sufficiently great to allow the lower layers to transmit the
CP-DATA and CP-ACK messages and to allow for some retransmissions of layer 2 frames.
If an SMC entity in the Wait for CP-ACK state gets an indication that the CP-DATA message has probably been lost
(e.g. due to dedicated channel assignment, handover, assignment failure, handover failure, or a SAPI 3 data link failure)
then, as an implementation option, that SMC entity may reduce the time until expiry of TC1*.
If the timer TC1* expires in the Wait for CP-ACK state, the CP-DATA message is retransmitted and the state Wait for
CP-ACK is re-entered. The maximum number of CP-DATA message retransmissions is an implementation option but
shall be either 1, 2 or 3. If the timer TC1* expires after the maximum number of retransmission attempts, an error
indication is passed to SM-RL and an MM-connection release request is passed to the MM-sublayer. The Idle state is
then entered.
On receipt of the CP-ACK message in the Wait for CP-ACK state, the SMC resets the timer TC1* and enters the
MM-Connection Established state.
When receiving a CP-DATA message in the MM-Connection Established state, the SMC entity checks the parameters
relevant to the CP protocol. If these are valid, the RPDU is passed to the SM-RL, the CP-ACK message is sent and the
state MM-Connection Established is re-entered.
If an SMC entity in the Idle state is unable to accept a CP-DATA message, it sends a CP-ERROR message followed by
an MM-connection release request and then enters the Idle state.
21 TSM 04.11 V1.0.0 (2000-12)
When receiving a MNSMS-DATA-Req primitive in the MM-Connection Established state, the SMC entity forwards a
CP-DATA message containing the RPDU to the MM-sublayer, sets the timer TC1* and enters the Wait for CP-ACK
state.
The value of TC1* may vary with the length of the CP-DATA. However, the value of TC1* shall be sufficiently great
to allow the lower layers to transmit the CP-DATA and CP-ACK messages and to allow for some re-transmissions of
layer 2 frames.
If an SMC entity in the Wait for CP-ACK state gets an indication that the CP-DATA message has probably been lost
then, as an implementation option, that SMC-GP entity may reduce the time until expiry of TC1*.
If the timer TC1* expires in the Wait for CP-ACK state, the CP-DATA message is retransmitted and the state Wait for
CP-ACK is re-entered. The maximum number of CP-DATA message re-transmissions is an implementation option but
shall be either 1, 2 or 3. If the timer TC1* expires after the maximum number of retransmission attempts, an error
indication is passed to SM-RL. The Idle state is then entered.
On receipt of the CP-ACK message in response to the CP-DATA (RP DATA) message in the Wait for CP-ACK state,
the SMC-GP resets the timer TC1* and enters the Wait for CP DATA state.
On receipt of the CP-ACK message in response to the CP-DATA (RP ACK) message in the Wait for CP-ACK state,
the SMC-GP resets the timer TC1* and enters the Idle State.
When receiving a CP-DATA message form the LLC sublayer, the SMC-GP entity checks the parameters relevant to the
CP protocol. If these are valid, the RPDU is passed to the SM-RL, the CP-ACK message is sent.
If an SMC entity in the Idle state is unable to accept a CP-DATA message, it sends a CP-ERROR message and then
enters the Idle state.
When an SMC entity in the Wait for CP-ACK state receives a release request from SM-RL, this request is stored until
the next state (either MM Connection Established or Idle) is entered. If the Idle state is entered, the request is discarded.
If the MM Connection Established state is entered, or if the SMC entity receives a release request from SM-RL in this
state, an MM-connection release request is sent to the MM-sublayer and the SMC entity enters the Idle state.
- Upper Layer Abort: Errors occurring in the SM-RL may cause the SM-RL to send an MNSMS-ABORT Request
to the SMC entity.
- CP-Layer Abort: Errors occurring within the SMC entity itself may require termination of all activities related to
that transaction identifier.
- Lower Layer Abort: Errors occurring within the layers beneath the CP-layer may cause an MMSM-ERROR
Indication or a GMMSMS-ERROR Indication to be sent to the SMC entity.
- CP-Layer Protocol Errors: Errors occurring within the protocol exchange between the SMC entities may result
in the sending of a CP-ERROR message between the entities.
- Lower Layer Release: Events occurring within the layers beneath the CP layer may cause an MMSM-REL
Indication to be sent to the SMC entity.
22 TSM 04.11 V1.0.0 (2000-12)
When the CM-sublayer in the network receives an Upper Layer Abort, it may form and send the CP-ERROR message
to release the connection. Irrespective of whether or not the CP-ERROR message was sent, an MM-connection release
request, without indication of release cause, is passed to the MM-sublayer. The SMC entity in the network then enters
the Idle state.
When the CM-sublayer in the UE receives an Upper Layer Abort and if the MM connection exists, it shall form and
send the CP-ERROR message. Irrespective of whether or not the CP-ERROR message was sent, an MM-connection
release request, without indication of release cause, is passed to the MM-sublayer. The SMC entity in the user
equipment then enters the Idle state.
In the case of a CP-Layer Abort, an error indication is passed to SM-RL. If possible, a CP-ERROR message is sent to
the partner SMC entity to indicate the error situation. Then the SMC entity enters the Idle state.
In the case of a Lower Layer Abort, the SMC entity passes an error indication to SM_RL, an MM-connection release
request is passed to the MM-sublayer, and the SMC entity immediately enters the Idle state.
In the case of the reception of a CP-ERROR message from the partner SMC entity, an error indication is passed to
SM-RL, an MM-connection release request, without indication of release cause, is passed to the MM-sublayer, and the
SMC entity enters the Idle state.
In the case of a lower layer release, the SMC entity passes an MNSMS-ERROR Indication to SM-RL and then enters
the Idle state.
Due to structure of message flow on SAPI 0 and 3 it is possible that the CP-ACK of a short message transfer might not
be received (e.g. due to handover). If the first CP-ACK (acknowledging the CP-DATA that carried the first RPDU) is
not received the reception of CP-DATA may be interpreted as the reception of the awaited CP-ACK and CP-DATA
message.
If another short message or a memory available notification is to be sent, an originating SMR entity in the UE may
choose to continue to use the same RR connection. When the UE chooses to use the same RR connection, then:
- the UE shall transmit a CM SERVICE REQUEST for the new CM connection before the final CP-ACK (e.g. the
one that acknowledges the CP-DATA that carried the RP-ACK) for the old MM connection is transmitted;
- before transmission of the first CP-DATA on the new MM connection, the UE shall transmit the CP-ACK for
the old MM connection;
- the Transaction Identifier used on the new MM connection shall be different to that used on the old MM
connection; and
- the UE shall not initiate establishment of the new MM connection before the final CP-DATA (e.g. the one
carrying the RP-ACK) has been received.
NOTE: When an UE sends successive memory available notifications and/or mobile originated short messages
on different RR connections, the UE is strongly recommended to use different Transaction Identifiers for
the old and new MM connections.
Due to the structure of message flow on SAPIs 0 and 3 it is possible that the final CP-ACK of a short message transfer
may not be received (e.g. due to transmission errors and/or handovers). For mobile terminated transfers, if the CP-ACK
is lost, the reception of a CP-DATA with a different transaction identifier and carrying an RPDU shall be interpreted as
the implicit reception of the awaited CP-ACK followed by the reception of the new CP-DATA message. For mobile
originated transfers, if the CP-ACK is lost, the reception of a CM SERVICE REQUEST followed by a CP-DATA with
a different transaction identifier and carrying an RPDU shall be interpreted as the implicit reception of the awaited
CP-ACK followed by the reception of the new CP-DATA message.
23 TSM 04.11 V1.0.0 (2000-12)
5 SM-RL-procedures
5.1 General
This clause describes the procedures used by the SMR entity for short message and notification support on the Short
Message Relay Layer. An SMR entity communicates with a corresponding peer entity using a CM-connection.
Multiple CM-connections may be established at the same time, allowing parallel transactions. There is a functional one
to one relation between the SMR entity and the SMC entity of the CM-sublayer. The descriptions of the procedures are
related to one single transaction.
The RL-procedures described in this subclause can only be performed if a CM-connection has been established
between the user equipment and the network. Detailed SDL-diagrams for short message control on SM-RL are
contained in annex D.
When the SMR entity is in the "Wait for RP-ACK" state, the following situations may occur:
a) reception of an RP-ACK or RP-ERROR message (containing the same reference number as the transmitted
RP-DATA message);
In case a) or b), the timer TR1* is reset, a report indication is passed to SM-TL, a request to release the CM-connection
is passed to CM-sublayer, and the SMR entity enters the Idle state.
In case c), a request to abort the CM-connection is passed to the CM-sublayer, a report indication is passed to SM-TL,
and the SMR entity enters the Idle state.
When the SMR entity is in the Idle state and receives an MNSMS-EST-Ind containing a valid RP-DATA message, it
passes the SMS-TPDU to the SM-TL, starts timer TR2*, and enters the state "Wait to Send RP-ACK".
When the SMR entity is in the state "Wait to Send RP-ACK" and the SMR entity receives the SM-RL-Report-Request,
the timer TR2* is reset, the RP-message (RP-ACK or RP-ERROR) is generated and relayed to the peer entity, a
CM-connection release request is passed to the CM-sublayer, and the SMR entity enters the Idle state.
When the SMR entity is in the state "Wait to Send RP-ACK" and the SMR entity receives an error indication from the
CM-sublayer, the timer TR2* is reset, a report indication is passed to the SM-TL and the SMR entity enters the Idle
state.
When the SMR entity is in the state "Wait to send RP-ACK" and the timer TR2* expires, the SMR entity passes a
CM-connection abort request to the CM-sublayer, a report indication is passed to the SM-TL, and the SMR entity
enters the Idle state.
5.3.2.1 UE side
- an RP-ACK (containing the same reference number as the last transmitted RP-SMMA message); or
- an RP-ERROR (containing the same reference number as the last transmitted RP-SMMA message) with a
permanent failure indication; or
then the UE shall reset timer TR1M, pass a report indication to SM-TL, give a CM-connection release request to the
CM-sublayer, and enter the Idle state. If set, timer TRAM and the RETRANS flag are also reset.
When the SMR entity in the UE is in the Wait for RP-ACK state and either:
- it receives an RP-ERROR (containing the same reference number as the last transmitted RP-SMMA message)
with a temporary failure indication; or
- if the RETRANS flag is set (i.e. no more transmissions of the RP-SMMA message are permitted) then:
- the UE shall pass a report indication to SM-TL, give a CM-connection release request to the CM-sublayer,
reset the RETRANS flag, reset TR1M, and enter the Idle state.
- If the RETRANS flag is not set (i.e. at least another transmission of the RP-SMMA message is currently
permitted) then:
- the UE shall give a CM-connection release request to the CM-sublayer, set the RETRANS flag, reset TR1M,
start timer TRAM and enter the Wait for Retrans Timer state.
When the SMR entity in the UE is in the Wait for RP-ACK state and it receives an
SM-RL-MEMORY-AVAILABLE-Req (SMS-MEM-NOTIF-ABORT) primitive, then the UE shall set the RETRANS
flag and reenter the Wait for RP-ACK state.
When the SMR entity in the UE is in the Wait for Retrans Timer state and it receives an
SM-RL-MEMORY-AVAILABLE-Req (SMS-MEM-NOTIF-ABORT) primitive, then the UE shall reset the
RETRANS flag, reset timer TRAM, pass a report indication to SM-TL, and enter the Idle state.
When the SMR entity in the network is in the state "Wait to Send RP-ACK" and the SMR entity receives an error
indication from the CM-sublayer, timer TR2N is reset, a report indication is passed to the SM-TL and the SMR entity
enters the Idle state.
When the SMR entity in the network is in the state "Wait to Send RP-ACK" and the timer TR2N expires, the SMR
entity passes a CM-connection abort request to the CM-sublayer, a report indication is passed to the SM-TL, and the
SMR entity enters the Idle state.
If the SMR entity upon receipt of an RP-DATA or RP-SMMA message detects an erroneous condition which it
can act on, (e.g. format errors, invalid parameters etc.) it shall return an RP-ERROR message with an
appropriate cause value and possibly extended diagnostic information, release or abort the CM-connection, and
enter the Idle state.
6.1 General
The notation used is as used in TSM 04.08, and each definition includes:
b) A table listing the information elements in the order of their appearance in the message. For each information
element the table indicates:
2) The presence requirement indication (M, C, or O) for the IE as defined in TSM 04.07.
3) The format of the information element (T, V, TV, LV, TLV) as defined in TSM 04.07.
4) The length of the information element (or permissible range of lengths), in octets, in the messages.
6.2.1 CP-DATA
The CP-DATA message is sent between an MSC and an UE, in both directions. The message contains the user data to
be relayed between the CM-users, and associated parameters. See table 6.1/ TSM 04.11.
6.2.2 CP-ACK
The CP-ACK message is sent between an MSC and an UE, in both directions, and is used to acknowledge the reception
of a CP-DATA message.
27 TSM 04.11 V1.0.0 (2000-12)
6.2.3 CP-ERROR
The CP-ERROR message is sent between an MSC and an UE, in both directions, and used to convey error information.
See table 6.3/TSM 04.11.
6.3.1 RP-DATA
6.3.2 RP-SMMA
This message is sent by the user equipment to relay a notification to the network that the mobile has memory available
to receive one or more short messages. The information elements are in line with GSM 03.40. See table 6.6/TSM 04.11.
6.3.3 RP-ACK
This message is sent between the MSC and the user equipment in both directions and used to relay the
acknowledgement of a RP-DATA or RP-SMMA message reception. The information elements are in line with
GSM 03.40. See table 6.7/TSM 04.11.
6.3.4 RP-ERROR
This message is sent between the MSC and the user equipment in both directions and used to relay an error cause from
an erroneous short message or notification transfer attempt. The information elements are in line with GSM 03.40. See
table 6.8/TSM 04.11.
7.1 CP-messages
7.1.1 General
The message format and information elements coding is in line with TSM 04.07 and TSM 04.08.
a) protocol discriminator;
b) transaction identifier;
c) message type;
8 7 6 5 4 3 2 1
Transaction Id. Protocol Discr.
Message Type
Other Information Elements
Table 7.1/TSM 04.11: Message types for short message and notification transfer on CM
8 7 6 5 4 3 2 1
0 0 0 0 0 0 0 1 CP-DATA
0 0 0 0 0 1 0 0 CP-ACK
0 0 0 1 0 0 0 0 CP-ERROR
8 7 6 5 4 3 2 1
30 TSM 04.11 V1.0.0 (2000-12)
0 0 0 0 0 0 1
0 CP-User Data IEI 1 octet
Length indicator 1 octet
RPDU
Maximum length 248 octets ? octet
8 7 6 5 4 3 2 1
0 0 0 0 0 1 0
0 CP-Cause IEI 1 octet
0 Cause value 1 octet
7654321 #
0010001 17 Network failure
0010110 22 Congestion
1010001 81 Invalid Transaction Identifier value
1011111 95 Semantically incorrect message
1100000 96 Invalid mandatory information
1100001 97 Message type non-existent or not implemented
1100010 98 Message not compatible with the short message protocol state
1100011 99 Information element non-existent or not implemented
1101111 111 Protocol error, unspecified
7.2 RP-messages
7.2.1 General
The message shall consist of the following parts:
b) message reference;
8 7 6 5 4 3 2 1
31 TSM 04.11 V1.0.0 (2000-12)
spare MTI
0 0 0 0 0
Message reference
Other Information Elements
The RP-Originator Address information element is coded as shown in figure 7.5/TSM 04.11.
The RP-Originator Address is a type 4 information element. In the network to user equipment direction the minimum
value of the length octet is 2 and the maximum value is 11. In the user equipment to network direction the value of the
length octet of the element is set to 0.
8 7 6 5 4 3 2 1
RP-Originator Address IEI octet 1
Length of RP-Originator Address contents octet 2
1 ext type of number Numbering plan octet 3
32 TSM 04.11 V1.0.0 (2000-12)
identification
Number digit 2 Number digit 1 octet 4
Number digit 4 Number digit 3 octet 5
:
:
If the RP-Originator Address contains an odd number of digits, bits 5 to 8 of the last octet shall be filled with an end
mark coded as "1111".
The contents of octets 3, 4, etc. are the same as those defined for the Called Party BCD Number IE defined in
TSM 04.08.
The RP-Destination Address information element is coded as shown in figure 7.6/TSM 04.11.
The RP-Destination Address is a type 4 information element. In the user equipment to network direction the minimum
value of the length octet is 1 and the maximum value is 11. In the network to user equipment direction, the value of the
length octet of the element is set to 0.
8 7 6 5 4 3 2 1
RP-Destination Address number IEI octet 1
Length of RP-Destination Address contents octet 2
1 ext type of number Numbering plan octet 3
identification
Number digit 2 Number digit 1 octet 4
Number digit 4 Number digit 3 octet 5
:
:
The number digit(s) in octet 4 precede the digit(s) in octet 5 etc. The number digit which would be entered first is
located in octet 4, bits 1 to 4.
If the RP-Destination Address contains an odd number of digits, bits 5 to 8 of the last octet shall be filled with an end
mark coded as "1111".
Since the information element contains the complete RP-Destination Address there is no need for an additional
complete indication.
The contents of octets 3, 4, etc. are the same as those defined for the Called Party BCD Number IE defined in
TSM 04.08.
RP-User data in an RP-Error message is conveyed as diagnostic information within the "SM-DeliveryFailureCause"
response to a MAP Forward-Short-Message procedure (see GSM 09.02). The diagnostic information may be sent in
both directions, and shall always be forwarded by the MSC if it is received.
8 7 6 5 4 3 2 1
1 0 0 0 0 0 1
0 RP-User Data IEI 1 octet
Length indicator 1 octet
TPDU
Maximum length 233 octets
The coding of the cause value is given in table 7.4/TSM 04.11. The mapping between error causes in TSM 04.11 and
GSM 09.02 (MAP) is specified in GSM 03.40. Parameters included in the return error from MAP (e.g. System Failure)
are mapped directly into the diagnostic field.
8 7 6 5 4 3 2 1
1 0 0 0 0 1 0
0 RP-Cause IEI 1 octet
Length indicator 1 octet
0 ext Cause value 1 octet
Cause value
Diagnostic field 1 octet *
Table 7.4/TSM 04.11 (part 1): Cause values that may be contained in an RP-ERROR message
in a mobile originating SM-transfer attempt
7654321 #
0000001 1 Unassigned (unallocated) number
0001000 8 Operator determined barring
0001010 10 Call barred
0001011 11 Reserved
0010101 21 Short message transfer rejected
0011011 27 Destination out of order
0011100 28 Unidentified subscriber
0011101 29 Facility rejected
0011110 30 Unknown subscriber
0100110 38 Network out of order
0101001 41 Temporary failure
0101010 42 Congestion
0101111 47 Resources unavailable, unspecified
0110010 50 Requested facility not subscribed
1000101 69 Requested facility not implemented
1010001 81 Invalid short message transfer reference value
1011111 95 Semantically incorrect message
1100000 96 Invalid mandatory information
1100001 97 Message type non-existent or not implemented
1100010 98 Message not compatible with short message protocol
state
1100011 99 Information element non-existent or not implemented
1101111 111 Protocol error, unspecified
1111111 127 Interworking, unspecified
All other cause values shall be treated as cause number 41, "Temporary Failure".
Table 7.4/TSM 04.11 (part 2): Cause values that may be contained in an RP-ERROR message in a
mobile terminating SM-transfer attempt
7654321 #
0010110 22 Memory capacity exceeded
1010001 81 Invalid short message transfer reference value
1011111 95 Semantically incorrect message
1100000 96 Invalid mandatory information
1100001 97 Message type non-existent or not implemented
1100010 98 Message not compatible with short message protocol state
1100011 99 Information element non-existent or not implemented
1101111 111 Protocol error, unspecified
All other cause values shall be treated as cause number 111, "Protocol error, unspecified".
35 TSM 04.11 V1.0.0 (2000-12)
Table 7.4/TSM 04.11 (part 3): Cause values that may be contained in an RP-ERROR message in a
memory available notification attempt
7654321 #
0011110 30 P Unknown Subscriber
0100110 38 T Network out of order
0101001 41 T Temporary failure
0101010 42 T Congestion
0101111 47 T Resources unavailable, unspecified
1000101 69 P Requested facility not implemented
1011111 95 P Semantically incorrect message
1100000 96 P Invalid mandatory information
1100001 97 P Message type non-existent or not implemented
1100010 98 P Message not compatible with short message protocol state
1100011 99 P Information element non-existent or not implemented
1101111 111 P Protocol error, unspecified
1111111 127 P Interworking, unspecified
All other cause values are treated as cause number 41, "Temporary failure".
Each cause is classified as "Temporary" or "Permanent", as indicated by T and P respectively in the cause type
column.
8.1 General
This subclause specifies procedures for handling of unknown, unforeseen, and erroneous protocol data by the receiving
entity. These procedures are called "error handling procedures", but in addition to providing recovery mechanisms for
error situations they define a compatibility mechanism for future extensions of the protocols.
Most error handling procedures are mandatory for the UE but optional for the network. Detailed error handling
procedures in the network are implementation dependent and may vary from PLMN to PLMN.
- An IE is defined to be syntactically incorrect in a message if it contains at least one value defined as "reserved",
or if its value part violates rules. However it is not a syntactical error that a type 4 IE specifies in its length
indicator a greater length than defined.
- A message is defined to have semantically incorrect contents if it contains information which, possibly
dependant on the state of the receiver, is in contradiction to the resources of the receiver and/or to the procedural
part of TSM 04.11.
After sending a CP-ERROR message the SMC-CS entity (in any state) shall pass an MM-connection release request to
the MM sublayer and then enter the Idle State.
36 TSM 04.11 V1.0.0 (2000-12)
Upon receiving a CP-ERROR message the SMC-GP entity (in any state) shall pass an error indication to SM-RL and
enter the Idle State.
After sending a CP-ERROR message the SMC-GP entity (in any state) shall enter the Idle State.
NOTE: A message type not defined for the PD in the given direction is regarded by the receiver as a message
type not defined for the PD, see TSM 04.07.
If the User Equipment receives a message not consistent with the protocol state, the User Equipment shall ignore the
message and return a CP-ERROR message with cause #98 "Message type not compatible with the short message
protocol state", if an appropriate connection exists.
is diagnosed or when a message containing a syntactically incorrect mandatory IE is received, the user equipment shall
proceed as follows.
When the corresponding SM transfer is not seen as successfully transferred, i.e. the transaction is not completed, the
user equipment shall ignore the message and return a CP-ERROR message with cause #96 "invalid mandatory
information", if an appropriate connection exists.
When the SM transfer is seen as successfully transferred, the user equipment shall ignore the message and enter the Idle
State.
In the case that the message received is a CP-ERROR message, the user equipment shall ignore the message and enter
the Idle State.
The network may follow the applicable procedures defined in this subclause.
37 TSM 04.11 V1.0.0 (2000-12)
- When the corresponding SM transfer is not seen as successfully transferred, the user equipment shall ignore the
message and return a CP-ERROR message with cause value #95 "semantically incorrect message", if an
appropriate connection exists.
- When the SM transfer is seen as successfully transferred, the user equipment shall ignore the message and enter
the Idle State.
- In the case that the message received is a CP-ERROR message, the user equipment shall ignore the message and
enter the Idle State.
When an RP-ERROR message is received specifying a Message Reference which is not associated with an active SM
transfer, the user equipment shall discard the message.
When the user equipment's SMR entity is not in the Idle state, and it receives an RP-DATA message specifying a
Message Reference which is not associated with the active SM transfer, then it shall either:
- send an RP-ERROR message with cause #81, "Invalid short message transfer reference value" using the
received Message Reference, if an appropriate connection exists; or
- behave as described below for the receipt of an message not consistent with the protocol state.
If the User Equipment receives a message (except RP-ERROR) not consistent with the protocol state, the User
Equipment shall ignore the message and return a RP-ERROR message with cause #98 "Message type not compatible
with Short Message protocol state", if an appropriate connection exists.
If the User Equipment receives an RP-ERROR message not consistent with the protocol state, the User Equipment shall
ignore the message.
is diagnosed or when a message containing a syntactically incorrect mandatory IE is received, the user equipment shall
(except for the case of a reserved value of the MTI as defined above) proceed as follows:
- when the message is an RP-DATA or RP-ACK, the user equipmentshall ignore the message and return an
RP-ERROR message with cause #96 "invalid mandatory information", if an appropriate connection exists;
- when the message is an RP-ERROR, the mobile station shall treat the message as an RP-ERROR message
carrying RP-Cause value 111 without any diagnostic field, and with no RP-User Data.
The network may follow the applicable procedures defined in this subclause.
- if the message was not an RP-ERROR message, the UE shall ignore the message and return an RP-ERROR
message with cause value #95 "semantically incorrect message", if an appropriate connection exists; while
- if the message was an RP-ERROR message, the user equipment shall treat the message as an RP-ERROR
message carrying RP-Cause value #111 without any diagnostic field, and with no RP-User Data.
11 Timers
The present document places the following requirements on the timers described in this TS:
- timer TR1M shall be greater than 35 seconds and less than 45 seconds;
- the value of timer TRAM shall be greater than 25 seconds and less than 35 seconds;
- timer TR2M shall be greater than 12 seconds and less than 20 seconds.
39 TSM 04.11 V1.0.0 (2000-12)
Annex A (informative):
Arrow diagrams
Arrow diagram A1:
The diagram shows CS (Circuit Switched mode) MO-message transfer by means of interlayer service primitives and
the actual messages being transferred between the layer entities
The diagram shows CS MT-messaging by means of interlayer service primitives and the actual messages being
transferred between the layer entities
The diagram shows PS (Packet Switched mode) MO-message transfer by means of interlayer service primitives
and the actual messages being transferred between the layer entities.
The diagram shows PS MT-message transfer by means of interlayer service primitives and the actual messages
being transferred between the layer entities.
MNSMS-EST-Req (RP-DATA)
LL-UNITDATA - Req
(TLLI, CP DATA) LLC-UI
(CP DATA)
LL-UNITDATA - Ind
(TLLI, CP DATA)
MNSMS-EST-Ind (RP-DATA)
LL-UNITDATA - Req
LLC-UI (TLLI, CP ACK)
LL-UNITDATA - Ind (CP ACK)
(TLLI, CP ACK)
MNSMS-DATA-Ind (RP-ACK)
LL-UNITDATA - Req
(TLLI, CP ACK)
LLC-UI
(CP ACK)
LL-UNITDATA - Ind
MNSMS-REL-req (TLLI, CP ACK)
MNSMS-REL-req
Arrow diagram A5
41 (TSM 04.11 version 1.0.0): December 2000
PS Mobile Terminated Messaging on CM-sublayer
LL-UNITDATA - Req
(TLLI, CP ACK) LLC-UI
(CP ACK) LL-UNITDATA - Ind
(TLLI, CP ACK)
Arrow diagram A6
42 (TSM 04.11 version 1.0.0): December 2000
Annex B (normative):
SDL-description of the CM-layer
B.1 Introduction
This annex contains an SDL-description of the Connection Management Sublayer in terms of the Short Message
Service Support. The CM- sublayer provides services to Short Message Relay Layer.
The SDLs contain a mixture of peer to peer messages and conceptual primitives between the layers SM-RL, CM, MM
and LLC, as viewed by the SMC entities. SDL-1/2/3 show the CSSMC entity on UE-side for Mobile Originated (MO)
short message transfer, SDL-4/5/6 show the CS SMC entity on UE-side for Mobile Terminated (MT) short message
transfer, SDL-7/8/9 show the CS SMC entity on the network side for Mobile Originated (MO) short message transfer,
and SDL-10/11/12 show the CS SMC entity on the network side for Mobile Terminated (MT) short message transfer.
SDL-13/14/15 show the PS SMC entity on UE-side for Mobile Originated (MO) short message transfer, SDL-16/17/18
show the PS SMC entity on UE-side for Mobile Terminated (MT) short message transfer, SDL-19/20/21 show the PS
SMC entity on the network side for Mobile Originated (MO) short message transfer, and SDL-22/23/24 show the PS
SMC entity on the network side for Mobile Terminated (MT) short message transfer.
The lower layers (below MM and LLC) are transparent to an SMC entity.
0
MO-IDLE
MNSMS-
EST-Req
(RP DATA)
CP DATA
Set TC1M
1
MO-Wait
for
CP ACK
1 MO-Wait
for
CP ACK
CP ACK TC1M
No
Reset TC1M retx = max
Yes
MNSMS-
Set retx = Zero ERROR- retx = retx+1
Ind
2
MO-Wait
Set retx = Zero 1
for
CP DATA
0
MO-IDLE
2 MO-Wait
for
CP DATA
MNSMS-
CP DATA
ABORT-
Req
MNSMS-
DATA- CP ERROR
Ind (RP ACK)
CP ACK
0
MO-IDLE
0
MO_IDLE
1
MO_Wait
for CP ACK
2
MO_Wait
for CP DATA
MT-IDLE
LL-
UNITDATA-
Ind-(RP DATA)
MNSMS-
DATA-
Ind (RP DATA)
CP ACK
1 MT - Wait
for
RP ACK
1 MT-Wait
for
RP ACK
MNSMS- MNSMS-
DATA-Req ABORT-
(RP ACK) Req
CP DATA CP ERROR
Set TC1M
2 0
MT-Wait
for MT-IDLE
CP ACK
2 MT-Wait
for
CP ACK
CP ACK TC1M
No
Reset TC1M retx = max
Yes
MNSMS-
Set retx = Zero ERROR- retx = retx+1
Ind
0
MT-IDLE
0
MT_IDLE
1
MT_Wait
for RP ACK
2
MT_Wait
for CP ACK
MO-IDLE
LL-
UNITDATA-
Ind-(CP DATA)
MNSMS-
EST-
Ind (RP DATA)
CP ACK
1 MO - Wait
for
RP ACK
1 MT-Wait
for
RP ACK
MNSMS- MNSMS-
DATA-Req ABORT-
(RP ACK) Req
CP DATA CP ERROR
Set TC1N
2 0
MT-Wait
for MT-IDLE
CP ACK
2 MO-Wait
for
CP ACK
CP ACK TC1N
No
Reset TC1N retx = max
Yes
MNSMS-
Set retx = Zero ERROR- retx = retx+1
Ind
0
MO-IDLE
0
MO_IDLE
1
MO_Wait
for RP ACK
2
MO_Wait
for CP ACK
0
MT-IDLE
MNSMS-
EST-Req
(RP DATA)
CP DATA
Set TC1N
1
MT-Wait
for
CP ACK
1 MT-Wait
for
CP ACK
CP ACK TC1N
No
Reset TC1N retx = max
Yes
MNSMS-
Set retx = Zero ERROR- retx = retx+1
Ind
2
MT-Wait
Set retx = Zero 1
for
CP DATA
0
MT-IDLE
2 MT-Wait
for
CP DATA
MNSMS-
CP DATA
ABORT-
Req
MNSMS-
DATA- CP ERROR
Ind (RP ACK)
CP ACK
0
MT-IDLE
0
MT_IDLE
1
MT_Wait
for CP ACK
2
MT_Wait
for CP DATA
Annex C (informative):
Arrow diagrams
Arrow diagram C1:
The diagram reflects MO-message transfer by means of interlayer service primitives and the actual messages being
transferred between the layer entities.
The diagram reflects MT-messaging by means of interlayer service primitives and the actual messages being transferred
between the layer entities.
The diagram reflects memory available notification transfer by means of interlayer service primitives and the actual
messages being transferred between the layer entities.
- RP-SMMA is the SM-RL message indicating that the mobile has memory available to receive one or more short
messages.
CWTS
55 (TSM 04.11 version 0.
The diagram reflects the abort of any retransmission of a memory available notification by SM-RL by means of the
SM-RL-MEMORY-AVAILABLE interlayer service primitive request with the SM-MEM-NOTIF-ABORT parameter
present. The use of this primitive and the associated parameter are, of course, local to the user equipment.
- RP-SMMA is the SM-RL message indicating that the mobile has memory available to receive one or more short
messages.
NOTE: The SM-RL being the upper layer in the MSC, an interworking function between SM-RL-procedures and
MAP-procedure is necessary. The term "RL" is used in the diagrams to indicate this function (see figure).
Interw. func.
SM-RL SM-RL- MAP-
proc. proc.
CWTS
56 (TSM 04.11 version 0.0. 2): December 2000
SM-RL-DATA-Req (SMS-SUBMIT)
RP-DATA
SM-RL-DATA-Ind (SMS-SUBMIT)
SM-RL-REPORT-Req
RP-ACK
SM-RL-REPORT-Ind
Arrow diagram C1
57 (TSM 04.11 version 0.0. 2): December 2000
SM-RL-DATA-Req (SMS-DELIVER)
RP-DATA
SM-RL-DATA-Ind (SMS-DELIVER)
SM-RL-REPORT-Req
RP-ACK
SM-RL-REPORT-Ind
Arrow diagram C2
58 (TSM 04.11 version 0.0. 2): December 2000
SM-RL-MEMORY
AVAILABLE-Req
RP-SMMA
SM-RL-MEMORY-AVAILABLE-Ind
SM-RL-REPORT-Req
RP-ACK / RP-ERROR
SM-RL-REPORT-Ind
Arrow diagram C3
59 (TSM 04.11 version 0.0. 2): December 2000
SM-RL-MEMORY
AVAILABLE-Req
RP-SMMA
SM-RL-MEMORY
AVAILABLE-Req
(SMS-MEM-NOTIF-ABORT)
SM-RL-MEMORY-AVAILABLE-Ind
SM-RL-REPORT-Req
SM-RL-REPORT-Ind
RP-ACK / RP-ERROR
NOTE: Dashed lines indicates messages that may be sent, even though an abort request was given.
Arrow diagram C4
60 (TSM 04.11 version 1.0.0): December 2000
Annex D (normative):
SDL-description of the short message relay layer
D.1 Introduction
This annex contains an SDL-description of the Short Message Relay Layer in terms of the Short Message Service
Support. The Short Message Relay Layer provides services to Short Message Transfer Layer.
The SDLs contain a mixture of peer to peer messages and conceptual primitives between the layers SM-TL, SM-RL
and CM, as viewed by the SMR entities. SDL-1/2/3 show the SMR entity on UE-side, and SDL-4/5 on the network
side.
CWTS
61 (TSM 04.11 version 1.0.0): December 2000
0
IDLE
SM-RL-
DATA-Req
(SMS-SUBMIT)
MNSMS-
EST-Req
(RP-DATA)
SET TR1M
1 Wait
for
RP-ACK
MNSMS-
RP-ACK RP-ERROR ERROR-
TR1M
Ind
MNSMS-
RESET
ABORT-
TR1M Req
SM-RL- SM-RL-
Report- REPORT-
Ind Ind
0
MNSMS- IDLE
REL-Req
0
IDLE
SMR-entity on UE-side
MO Short Message transfer
SDL-1
CWTS
62 (TSM 04.11 version 1.0.0): December 2000
0
IDLE
MNSMS-
EST-Ind
(RP-DATA)
RP-DATA No
Accepted
?
Yes
SM-RL- Severe
DATA-Ind No
errors
(RP-DATA) ?
Yes
MNSMS-
SET TR2M ABORT- RP-ERROR
Req
0
IDLE MNSMS-
REL-Req
0
IDLE
3 Wait
to
send
RP-ACK
MNSMS-
RESET TR2M RESET TR2M RESET TR2M ABORT-
Req
SM-RL-
RP-ACK RP-ERROR REPORT-
Ind
0
MNSMS- IDLE
REL-Req
0
IDLE
SMR-entity on UE-side
MT Short Message transfer
SDL-2
CWTS
63 (TSM 04.11 version 1.0.0): December 2000
0 B
IDLE
RETRANS
FLAG
YES SET?
SM-RL- SM-RL-MEMORY-
SM-RL- AVAILABLE-Req
Report- NO
MEMORY- Ind (SMS-MEM-
AVAILABLE-Req NOTIF-ABORT)
SET RETRANS
C FLAG, TRAM
RESET RESET TR1M RESET
RETRANS RETRANS
MNSMS-
EST-Req FLAG, TR1M FLAG, TRAM
(RP-SMMA)
MNSMS-
REL-Req SM-RL-
MNSMS- Report-
REL-Req
Ind
SET TR1M 4
WAIT FOR
0 RETRANS TIMER 0
A IDLE IDLE
1 Wait _____
for TRAM
RP-ACK
SM-RL-MEMORY-
CP-LAYER AVAILABLE-Req RP-ERROR _____
RP-ACK ERROR TR1M
(SMS-MEM-
INDICATION NOTIF-ABORT)
SET
RETRANS
FLAG
MNSMS- B
REL-Req
A
TEMP.
NO
RESET NETWORK
FAILURE?
TR1M and
RETRANS FLAG
YES
SM-RL-
Report-
Ind
0
IDLE
SMR-entity on UE-side
Memory Available Notification
SDL-3
CWTS
64 (TSM 04.11 version 1.0.0): December 2000
0
IDLE
3
Wait to
4 Send
Wait for RP-ACK
RETRANS
Timer
1
Wait
for
RP-ACK
SMR-entity on UE-side
State transition diagram
CWTS
65 (TSM 04.11 version 1.0.0): December 2000
0
IDLE
SM-RL-
DATA-Req
(RP-DATA)
MNSMS-
EST-Req
(RP-DATA)
SET TR1N
1 Wait
for
RP-ACK
MNSMS-
RP-ACK RP-ERROR ERROR-
TR1N
Ind
MNSMS-
RESET
ABORT-
TR1N Req
MNSMS- SM-RL-
REL-Req REPORT-
Ind
SM-RL- 0
Report- IDLE
Ind
0
IDLE
SMR-entity on Network-side
MT Short Message transfer
SDL-4
CWTS
66 (TSM 04.11 version 1.0.0): December 2000
0
IDLE
MNSMS-
EST-Ind
(RPDU)
RPDU No
Accepted
?
Yes
SM-RL-
Severe No
DATA-Ind
(RP-DATA errors
or RP-SMMA) ?
Yes
MNSMS-
SET TR2N ABORT- RP-ERROR
Req
0
IDLE MNSMS-
REL-Req
0
IDLE
3 Wait
to
send
RP-ACK
MNSMS-
RESET TR2N RESET TR2N RESET TR2N ABORT-
Req
SM-RL-
RP-ACK RP-ERROR REPORT-
Ind
0
MNSMS- IDLE
REL-Req
0
IDLE
SMR-entity on Network-side
MO Short Message and Notification transfer
SDL-5
CWTS
67 (TSM 04.11 version 1.0.0): December 2000
0
IDLE
1
3
Wait
Wait
for
to send
RP-ACK
RP-ACK
SMR-entity on Network-side
State transition diagram
CWTS
68 (TSM 04.11 version 1.0.0): December 2000
This cause is sent to the UE if the MSC cannot service an UE generated request because of PLMN failures, e.g.
problems in MAP.
This cause is sent if the service request cannot be actioned because of congestion (e.g. no channel, facility
busy/congested etc.).
This cause indicates that the equipment sending this cause has received a message with a Transaction Identifier
which is currently not use on the UE - network interface.
This cause is used to report the receipt of a message with semantically incorrect content.
This cause indicates that the equipment sending this cause has received a message with non-semantical
mandatory information element errors.
This cause indicates that the equipment sending this cause has received a message with a message type it does
not recognize either because this is a message not defined or defined but not implemented by the equipment
sending this cause.
Cause no. 98: "Message not compatible with short message protocol state"
This cause indicates that the equipment sending this cause has received a message not compatible with the Short
Message protocol state.
This cause indicates that the equipment sending this cause has received a message which includes information
elements not recognized because the information element identifier is not defined or it is defined but not
implemented by the equipment sending the cause.
However, the information element is not required to be present in the message in order for the equipment
sending the cause to process the message.
This cause is used to report a protocol error event only when no other cause applies.
This cause indicates that the destination requested by the User Equipment cannot be reached because, although
the number is in a valid format, it is not currently assigned (allocated).
This cause indicates that the UE has tried to send a mobile originating short message when the UE’s network
operator or service provider has forbidden such transactions.
CWTS
69 (TSM 04.11 version 1.0.0): December 2000
This cause indicates that the outgoing call barred service applies to the short message service for the called
destination.
This cause indicates that the equipment sending this cause does not wish to accept this short message, although
it could have accepted the short message since the equipment sending this cause is neither busy nor
incompatible.
This cause indicates that the destination indicated by the User Equipment cannot be reached because the
interface to the destination is not functioning correctly. The term "not functioning correctly" indicates that a
signalling message was unable to be delivered to the remote user; e.g., a physical layer or data link layer failure
at the remote user, user equipment off-line, etc.
This cause indicates that the subscriber is not registered in the PLMN (i.e. IMSI not known).
This cause indicates that the facility requested by the User Equipment is not supported by the PLMN.
This cause indicates that the subscriber is not registered in the HLR (i.e. IMSI or directory number is not
allocated to a subscriber).
This cause indicates that the network is not functioning correctly and that the condition is likely to last a
relatively long period of time; e.g., immediately reattempting the short message transfer is not likely to be
successful.
This cause indicates that the network is not functioning correctly and that the condition is not likely to last a long
period of time; e.g., the User Equipment may wish to try another short message transfer attempt almost
immediately.
This cause indicates that the short message service cannot be serviced because of high traffic.
This cause is used to report a resource unavailable event only when no other cause applies.
This cause indicates that the requested short message service could not be provided by the network because the
user has not completed the necessary administrative arrangements with its supporting networks.
This cause indicates that the network is unable to provide the requested short message service.
This cause indicates that the equipment sending this cause has received a message with a short message
reference which is not currently in use on the UE-network interface.
This cause is used to report an invalid message event only when no other cause in the invalid message class
applies.
CWTS
70 (TSM 04.11 version 1.0.0): December 2000
This cause indicates that the equipment sending this cause has received a message where a mandatory
information element is missing and/or has a content error (the two cases are indistinguishable).
This cause indicates that the equipment sending this cause has received a message with a message type it does
not recognize either because this is a message not defined or defined but not implemented by the equipment
sending this cause.
Cause no. 98: "Message not compatible with short message protocol state"
This cause indicates that the equipment sending this cause has received a message such that the procedures do
not indicate that this is a permissible message to receive while in the short message transfer state.
This cause indicates that the equipment sending this cause has received a message which includes information
elements not recognized because the information element identifier is not defined or it is defined but not
implemented by the equipment sending the cause.
However, the information element is not required to be present in the message in order for the equipment
sending the cause to process the message.
This cause is used to report a protocol error event only when no other cause applies.
This cause indicates that there has been interworking with a network which does not provide causes for actions
it takes; thus, the precise cause for a message which is being send cannot be ascertained.
This cause indicates that the user equipment cannot store the incoming short message due to lack of storage
capacity.
This cause indicates that the equipment sending this cause has received a message with a short message
reference which is not currently in use on the UE-network interface.
This cause is used to report an invalid message event only when no other cause in the invalid message class
applies.
This cause indicates that the equipment sending this cause has received a message where a mandatory
information element is missing and/or has a content error (the two cases are indistinguishable).
This cause indicates that the equipment sending this cause has received a message with a message type it does
not recognize either because this is a message not defined or defined but not implemented by the equipment
sending this cause.
Cause no. 98: "Message not compatible with short message protocol state"
This cause indicates that the equipment sending this cause has received a message such that the procedures do
not indicate that this is a permissible message to receive while in the short message transfer state.
CWTS
71 (TSM 04.11 version 1.0.0): December 2000
This cause indicates that the equipment sending this cause has received a message which includes information
elements not recognized because the information element identifier is not defined or it is defined but not
implemented by the equipment sending the cause.
However, the information element is not required to be present in the message in order for the equipment
sending the cause to process the message.
This cause is used to report a protocol error event only when no other cause applies.
This cause indicates that the subscriber is not registered in the HLR (i.e. IMSI or directory number is not
allocated to a subscriber).
This cause indicates that the network is not functioning correctly and that the condition is likely to last a
relatively long period of time; e.g., immediately reattempting the short message transfer is not likely to be
successful.
This cause indicates that the network is not functioning correctly and that the condition is not likely to last a long
period of time; e.g., the User Equipment may wish to try another short message transfer attempt almost
immediately.
This cause indicates that the short message service cannot be serviced because of high traffic.
This cause is used to report a resource unavailable event only when no other cause applies.
This cause indicates that the network is unable to provide the requested memory available notification service.
This cause is used to report an invalid message event only when no other cause in the invalid message class
applies.
This cause indicates that the equipment sending this cause has received a message where a mandatory
information element is missing and/or has a content error (the two cases are indistinguishable).
This cause indicates that the equipment sending this cause has received a message with a message type it does
not recognize either because this is a message not defined or defined but not implemented by the equipment
sending this cause.
Cause no. 98: "Message not compatible with short message protocol state"
This cause indicates that the equipment sending this cause has received a message such that the procedures do
not indicate that this is a permissible message to receive while in the short message transfer state.
CWTS
72 (TSM 04.11 version 1.0.0): December 2000
This cause indicates that the equipment sending this cause has received a message which includes information
elements not recognized because the information element identifier is not defined or it is defined but not
implemented by the equipment sending the cause.
However, the information element is not required to be present in the message in order for the equipment
sending the cause to process the message.
This cause is used to report a protocol error event only when no other cause applies.
This cause indicates that there has been interworking with a network which does not provide causes for actions
it takes; thus, the precise cause for a message which is being send cannot be ascertained.
CWTS
73 (TSM 04.11 version 1.0.0): December 2000
Annex F (informative):
LAPDm SAPI 3 handling for short message service
This annex describes several typical SMS message transfer scenarios for circuit switched mode.
For packet switched mode SMS transfer, refer to TSM 03.60 for channel set up and upper layer message flow.
The user equipmentside will initiate SAPI 3 establishment by a SABM command on the SDCCH (or on the
FACCH, if dedicated resurces have been assigned) after the cipher mode has been set. If no handover occurs, the
SAPI 3 link will stay up until the last CP-ACK is received by the MSC, and the clearing procedure is invoked.
The network side, i.e. the BSS will initiate SAPI3 establishment by a SABM command on the SDCCH (or on
the FACCH, if dedicated resources have been assigned) when the first CP-Data message is received from the
MSC. If no handover occurs, the link will stay up until the MSC has given the last CP-ack and invokes the
clearing procedure.
The user equipment will send a SABM command on the SACCH when a CM_SERV_ACC message has been
received from the network, allowing the short message transfer to start. If no handover occurs the link will stay
up until the MSC orders a explicit release, or the clearing procedure is invoked. If the parallel call is cleared
before the short message transfer is finalized, the MSC will delay the clearing procedure toward the BSS, i.e. the
channel release procedure is delayed.
The network side, i.e. the BSS will initiate SAPI3 establishment by a SABM command on the SACCH when the
first CP-DATA message is received from the MSC. The further handling is exactly as described for case C.
Case E: Mobile terminating short message transfer together with Inter-MSC handover, parallel call.
The MAP procedures "Forward access signalling" and "Process access signalling" will be used between the two
MSCs to transfer the CP-DATA, CP-ACK and CP-ERROR messages.
Case F: Mobile terminating short message transfer on SDCCH (or on the FACCH, if dedicated resources have been
assigned) channel together with Inter-MSC handover.
The MAP procedures "Forward access signalling" and "Process access signalling" will be used between the two
MSC's to transfer the CP-DATA, CP-ACK and CP-ERROR messages.
CWTS
74 (TSM 04.11 version 1.0.0): December 2000
CHANNEL:
SYNC
CHAN ACTIV
UA (CM-SERV-REQ)
AUTH RES
UA (SAPI=3)
CP-DATA To SC
CP-ACK
CP-DATA From SC
CP-ACK
DEACT SACCH
DISC (SAPI=0)
REL IND
UA (SAPI=0)
CWTS
75 (TSM 04.11 version 1.0.0): December 2000
CHANNEL:
PCH PAGE REQUEST PAGING COMMAND PAGING From SC
SYNC1
CHAN ACTIV
SDCCH SABM (PAGE RESP) EST IND (PAGE RESP) CR (PAGE RESP)
UA (PAGE RESP)
AUTH RESP
CP-DATA
CP-ACK
CP-DATA To SC
CP-ACK
DEACT SACCH
DISC (SAPI=0)
UA (SAPI=0)
CWTS
76 (TSM 04.11 version 1.0.0): December 2000
CHANNEL:
ACTIVE CALL
CM SERV REQ
FACCH
CM SERV ACC
CP-ACK
CP-DATA From SC
CP-ACK
ACTIVE CALL
CWTS
77 (TSM 04.11 version 1.0.0): December 2000
CHANNEL:
ACTIVE CALL
FACCH
CP-DATA
CP-ACK
To SC
CP-DATA
CP-ACK
ACTIVE CALL
CWTS
(TSM 04.1178
version 1.0.0): December 2000
CHANNEL:
SACCH
CP-DATA
To SC
BSC-B BTS-B
CP-ACK
PREPARE HANDOVER
HANDO RQD
HANDO RQT CHAN ACTIV
PREPARE HANDOVER
ACK HANDO RQT ACK CHAN ACT ACK
IAM
UA (SAPI=
CP-DATA
PROCESS ACCESS
SIGNALLING CP-ACK
To SC
Figure F5/TSM 04.11: Inter/MSC handover during Short Message transfer on SACCH
(TSM 04.1179
version 1.0.0): December 2000
CHANNEL:
SDCCH
CP-DATA
To SC
BSC-B BTS-B
CP-ACK
PREPARE HANDOVER
HANDO RQD
HANDO RQT CHAN ACTIV
PREPARE HANDOVER
ACK HANDO RQT ACK CHAN ACT ACK
HANDO AC
HANDO DET PHYSICAL
HANDO DET
PROCESS ACCESS
SIGNALLING EST IND(0) SABM (SAP
UA (SAPI=
CP-DATA
PROCESS ACCESS
SIGNALLING CP-ACK
To SC
Figure F6/TSM 04.11: Inter/MSC handover during Short Message transfer on SDCCH
80 (TSM 04.11 version 1.0.0): December 2000
Annex G (informative):
History
Document history
DATE OLD_VERS NEW_VERS SUBJECT