Tech-invite3GPPspaceIETFspace
21222324252627282931323334353637384‑5x

Content for  TS 23.040  Word version:  18.0.0

Top   Top   Up   Prev   Next
0…   3…   3.3…   4…   8…   9…   9.2…   9.2.2.2…   9.2.2.3…   9.2.3…   9.2.3.12…   9.2.3.24   9.2.3.24.1…   9.2.3.24.10…   9.2.3.24.10.1.12…   9.2.3.24.10.2…   9.2.3.24.11…   9.2.3.25…   9.3…   10…   10.1.1…   10.1.3…   10.1.5…   10.1.7…   10.1.9…   10.1.11…   10.1.13…   10.1.15…   10.1.17…   10.2   10.2.1…   10.2.3…   10.2.5…   10.2.7…   10.3   11…   A…   C   C.1…   C.3…   C.5…   C.7…   C.9…   C.11…   C.13…   C.15…   D…   E…   F…   G…   G.2…   G.6   G.7   H…   I…   J…   K…

 

9.2.3.24  TP-User Data (TP-UD)p. 71

The length of the TP-User-Data field is defined in the PDU's of the SM-TL (see clause 9.2.2).
The TP-User-Data field may comprise just the short message itself or a Header in addition to the short message depending upon the setting of TP-UDHI.
Where the TP-UDHI value is set to 0 the TP-User-Data field comprises the short message only, where the user data can be 7 bit (default alphabet) data, 8 bit data, or 16 bit (UCS2 [24]) data.
Where the TP-UDHI value is set to 1 the first octets of the TP-User-Data field contains a Header in the following order starting at the first octet of the TP-User-Data field.
Irrespective of whether any part of the User Data Header is ignored or discarded, the MS shall always store the entire TPDU exactly as received.
FIELD LENGTH
Length of User Data Header1 octet
Information-Element-Identifier "A" 1 octet
Length of Information-Element "A" 1 octet
Information-Element "A" Data 0 to "n" octets
Information-Element-Identifier "B" 1 octet
Length of Information-Element "B" 1 octet
Information-Element "B" Data 0 to "n" octets
Information-Element-Identifier "X" 1 octet
Length of Information-Element "X" 1 octet
Information-Element "X" Data 0 to "n" octets
The diagram below shows the layout of the TP-User-Data-Length and the TP-User-Data for uncompressed GSM 7 bit default alphabet data. The UDHL field is the first octet of the TP-User-Data content of the Short Message.
Copy of original 3GPP image for 3GPP TS 23.040, Fig. 9.2.3.24-a:
Figure 9.2.3.24-a
(⇒ copy of original 3GPP image)
Up
The diagram below shows the layout of the TP-User-Data-Length and the TP-User-Data for uncompressed 8 bit data or uncompressed UCS2 data. The UDHL field is the first octet of the TP-User-Data content of the Short Message.
Copy of original 3GPP image for 3GPP TS 23.040, Fig. 9.2.3.24-b:
Figure 9.2.3.24-b
(⇒ copy of original 3GPP image)
Up
The diagram below shows the layout of the TP-User-Data-Length and the TP-User-Data for compressed GSM 7 bit default alphabet data, compressed 8 bit data or compressed UCS2 data. The UDHL field is the first octet of the TP-User-Data content of the Short Message.
Copy of original 3GPP image for 3GPP TS 23.040, Fig. 9.2.3.24-c:
Figure 9.2.3.24-c
(⇒ copy of original 3GPP image)
Up
The definition of the TP-User-Data-Length field which immediately precedes the "Length of User Data Header" is unchanged and shall therefore be the total length of the TP-User-Data field including the Header, if present. (see clause 9.2.3.16).
The "Length-of-Information-Element" fields shall be the integer representation of the number of octets within its associated "Information-Element-Data" field which follows and shall not include itself in its count value.
The "Length-of-User-Data-Header" field shall be the integer representation of the number of octets within the "User-Data-Header" information fields which follow and shall not include itself in its count or any fill bits which may be present (see text below).
Information Elements may appear in any order and need not follow the order used in the present document. Information Elements are classified into 3 categories as described below.
  • SMS Control - identifies those IEIs which have the capability of dictating SMS functionality.
  • EMS Control - identifies those IEIs which manage EMS Content IEIs.
  • EMS Content - identifies those IEIs containing data of a unique media format.
It is permissible for certain IEs to be repeated within a short message, or within a concatenated message. There is no restriction on the repeatability of IEs in the EMS Content classification. The repeatability of SMS Control and EMS Control IEs is determined on an individual basis. See the IE table below for the repeatability of each IE.
In the event that IEs determined as not repeatable are duplicated, the last occurrence of the IE shall be used. In the event that two or more IEs occur which have mutually exclusive meanings (e.g. an 8bit port address and a 16bit port address), then the last occurring IE shall be used.
If the length of the User Data Header is such that there are too few or too many octets in the final Information Element then the whole User Data Header shall be ignored.
If any reserved values are received within the content of any Information Element then that part of the Information Element shall be ignored.
The support of any Information Element Identifier is optional unless otherwise stated.
The Information Element Identifier octet shall be coded as follows:
VALUE (hex) MEANING Classification Repeatability
00Concatenated short messages, 8-bit reference numberSMS ControlNo
01Special SMS Message IndicationSMS ControlYes
02ReservedN/AN/A
03Value not used to avoid misinterpretation as <LF> characterN/AN/A
04Application port addressing scheme, 8 bit addressSMS ControlNo
05Application port addressing scheme, 16 bit addressSMS ControlNo
06SMSC Control ParametersSMS ControlNo
07UDH Source Indicator SMS ControlYes
08Concatenated short message, 16-bit reference numberSMS ControlNo
09Wireless Control Message ProtocolSMS ControlNote 3
0AText FormattingEMS ControlYes
0BPredefined SoundEMS ContentYes
0CUser Defined Sound (iMelody max 128 bytes)EMS ContentYes
0DPredefined AnimationEMS ContentYes
0ELarge Animation (16*16 times 4 = 32*4 =128 bytes)EMS ContentYes
0FSmall Animation (8*8 times 4 = 8*4 =32 bytes)EMS ContentYes
10Large Picture (32*32 = 128 bytes)EMS ContentYes
11Small Picture (16*16 = 32 bytes)EMS ContentYes
12Variable PictureEMS ContentYes
13User prompt indicatorEMS ControlYes
14Extended ObjectEMS ContentYes
15Reused Extended ObjectEMS ControlYes
16Compression ControlEMS ControlNo
17Object Distribution IndicatorEMS ControlYes
18Standard WVG objectEMS ContentYes
19Character Size WVG objectEMS ContentYes
1AExtended Object Data Request CommandEMS ControlNo
1B-1FReserved for future EMS features (see clause 3.10)N/AN/A
20RFC 5322 E-Mail HeaderSMS ControlNo
21Hyperlink format elementSMS ControlYes
22Reply Address ElementSMS ControlNo
23Enhanced Voice Mail InformationSMS ControlNo
24National Language Single Shift SMS ControlNo
25National Language Locking ShiftSMS ControlNo
26FillerSMS ControlYes
27 - 6FReserved for future useN/AN/A
70 - 7F(U)SIM Toolkit Security Headers SMS ControlNote 1
80 - 9FSME to SME specific useSMS ControlNote 2
A0 - BFReserved for future useN/AN/A
C0 - DFSC specific useSMS ControlNote 2
E0 - FFReserved for future useN/AN/A
NOTE 1:
The functionality of these IEIs is defined in TS 31.115, and therefore, the repeatability is not within the scope of this document and will not be determined here.
NOTE 2:
The functionality of these IEIs is used in a proprietary fashion by different SMSC vendors, and therefore, are not within the scope of this technical specification.
NOTE 3:
The functionality of these IEIs is defined by the WAP Forum and therefore the repeatability is not within the scope of this document and will not be determined here.
A receiving entity shall ignore (i.e. skip over and commence processing at the next information element) any information element where the IEI is Reserved or not supported. The receiving entity calculates the start of the next information element by looking at the length of the current information element and skipping that number of octets.
The SM itself may be coded as 7, 8 or 16 bit data.
If 7 bit data is used and the TP-UD-Header does not finish on a septet boundary then fill bits are inserted after the last Information Element Data octet up to the next septet boundary so that there is an integral number of septets for the entire TP-UD header. This is to ensure that the SM itself starts on an septet boundary so that an earlier Phase mobile shall be capable of displaying the SM itself although the TP-UD Header in the TP-UD field may not be understood.
It is optional to make the first character of the SM itself a Carriage Return character encoded according to the default 7 bit alphabet so that earlier Phase mobiles, which do not understand the TP-UD-Header, shall over-write the displayed TP-UD-Header with the SM itself.
If 16 bit (USC2) data is used then padding octets are not necessary. The SM itself shall start on an octet boundary.
If 8 bit data is used then padding is not necessary. An earlier Phase mobile shall be able to display the SM itself although the TP-UD header may not be understood.
It is also possible for mobiles not wishing to support the TP-UD header to check the value of the TP-UDHI bit in the SMS-Deliver PDU and the first octet of the TP-UD field and skip to the start of the SM and ignore the TP-UD header.
Up

Up   Top   ToC