6.3.11 Concatenated SMS

3GPP51.013Release 17Test specification for Subscriber Identity Module (SIM) Application Programming Interface (API) for Java CardTS

6.3.11.1 Concatenation processing

6.3.11.1.1 Conformance Requirements

6.3.11.1.1.1 Normal execution

  • CRRN1: The SIM Toolkit Framework shall link single Short Messages together to re-assemble the original message before any further processing.
  • CRRN2: The concatenation control headers used to re-assemble the short messages in the correct order shall not be present in the SMS TPDU.
  • CRRN3: The TP-elements of the SMS TPDU and the Address (TS-Service-Centre-Address) shall correspond to the ones in the last received Short Message (independently of the Sequence number of Information-Element-Data).
  • CRRN4: The original Short Message shall be placed in one SMS TPDU TLV (with TP-UDL field coded on one octet) included in the EnvelopeHandler.
  • CRRN5: The SIM Toolkit Framework shall be able to process messages with the following properties:

– The Information Element Identifier is equal to the 8-bit reference number

– It contains uncompressed 8 bit data or uncompressed UCS2 data.

6.3.11.2 Test Suite Files

Test Script: FWK_CSM_PROC_1.scr

Test Applet: FWK_CSM_PROC_1.java

Load Script: FWK_CSM_PROC_1.ldr

Cleanup Script: FWK_CSM_PROC_1.clr

Parameter File: FWK_CSM_PROC_1.par

6.3.11.3 Test Procedure

Id

Description

API/Framework Expectation

APDU Expectation

Applet registration to EVENT_FORMATTED_SMS_PP_ENV and triggering

Applet is registered to EVENT_FORMATTED_SMS_PP_ENV and EVENT_UNFORMATTED_SMS_PP_ENV

A concatenated formatted SMS_PP short message is sent to the SIM (composed of two segments).

1

The second segment of a concatenated short message is sent to the SIM.

Applet is not triggered.

2

The first segment of the concatenated short message is sent to the SIM

Applet is triggered.

3

Call the EnvelopeHanlder.getTheHandler()

No exception is thrown.

4

Call the EnvelopeHandler.findTLV()to select the Dev Id, the adress and the TPDU TLV and the EnvelopeHandler.compareValue() to check each content.

Check that the message has been re-assembled in the correct order. Check that TP-UDL field is coded one octet. Check that the concatenation control header is not present in the message. Check the integrity of the message.

5

A new concatenated formatted short message is sent to the SIM composed of two segments. The Address field of the first segment is different from the address field in the second segment.

Applet is triggered.

6

Call the EnvelopeHandler.getTheHandler()

No exception is thrown.

7

Call the EnvelopeHandler.findTLV()to select the the address TLV and the EnvelopeHandler.compareValue() to check its content.

Check that the address field of the message is equal to the address field of the second segment.

8

A new concatenated formatted short message is sent to the SIM composed of two segments. Some TP_elements of the TP_DU of the first segment are different from the TP elements in the second segment.

Applet is triggered.

9

Call the EnvelopeHandler.getTheHandler()

No exception is thrown.

10

Call the EnvelopeHandler.findTLV()to select the the TP DU TLV and the EnvelopeHandler.compareValue() to check its TP elements.

Check that the TP elements of the message are equal to the ones of the second segment.

11

Send a concatenated formatted short message (composed of 2 segment)with uncompressed 8 bits data.

Applet is triggered.

Applet registration to EVENT_UNFORMATTED_SMS_PP_ENV and triggering

Same test as 1 but with an unformatted SMS_PP envelope.

A concatenated unformatted SMS_PP short message is sent to the SIM (composed of two segments).

12

The second segment of a concatenated short message is sent to the SIM.

Applet is not triggered.

13

The first segment of the concatenated short message is sent to the SIM

Applet is triggered.

14

Call the EnvelopeHanlder.getTheHandler()

No exception is thrown.

15

Call the EnvelopeHandler.findTLV()to select the Dev Id, the adress and the TPDU TLV and the EnvelopeHandler.compareValue() to check each content.

Check that the message has been re-assembled in the correct order. Check that TP-UDL field is coded one octet. Check that the concatenation control header is not present in the message. Check the integrity of the message.

16

A new concatenated formatted short message is sent to the SIM composed of two segments. The Address field of the first segment is different from the address field in the second segment.

Applet is triggered.

17

Call the EnvelopeHandler.getTheHandler()

No exception is thrown.

18

Call the EnvelopeHandler.findTLV()to select the the address TLV and the EnvelopeHandler.compareValue() to check its content.

Check that the address field of the message is equal to the address field of the second segment.

19

A new concatenated unformatted short message is sent to the SIM composed of two segments. Some TP_elements of the TP_DU of the first segment are different from the TP_elements in the second segment.

Applet is triggered.

20

Call the EnvelopeHandler.getTheHandler()

No exception is thrown.

21

Call the EnvelopeHandler.findTLV()to select the the TP DU TLV and the EnvelopeHandler.compareValue() to check its TP elements.

Check that the TP elements of the message are equal to the ones of the second segment.

22

Send a concatenated unformatted short message (composed of 2 segments) with uncompressed UCS2 data.

Applet is triggered.

6.3.11.4 Test Coverage

CRR number

Test case number

N1

1,2, 3, 5, 6, 8, 9, 12, 13, 14, 16, 17, 19, 20

N2

4,15

N3

7,10, 18, 21

N4

4,15

N5

11,22

Annex A (normative):
Class and Methods AID numbering and acronyms