短信级联 --- 0348标准数据体分析(二)

0348标准SMS-PP级联短信数据格式:《3GPP TS 03.48 V8.80

SMS specific elements

Generalised Command Packet Elements (Refer to Table 1)

Comments

UDL

 

Indicates the length of the entire SM

UDHL

='07'

The first octet of the content or User Data part of the Short Message itself. Length of the total User Data Header, in this case, includes the length of IEIa + IEIDLa + IEDa + IEIb + IEIDLb + IEDb (see figure 2), which is '07' in this case.

IEIa

'00', indicating concatenated short message

identifies this Header as a concatenation control header defined in TS 23.040 [3].

IEIDLa

Length of Concatenation header

length of the concatenation control header (= 3).

IEDa

3 octets containing data concerned with concatenation

These octets contain the reference number, sequence number and total number of messages in the sequence, as defined in TS 23.040 [3].

IEIb

CPI= '70'

Identifies this element of the UDH as the Command Packet Identifier.

IEIDLb

='00'

Length of this object, in this case the length of IEDb alone, which is zero, indicating that IEDb is a null field.

IEDb

 

Null field.

SM (8 bit data)

Length of Command Packet (2 octets)

Length of the Command Packet (CPL), coded over 2 octets, and shall not be coded according to ISO/IEC  7816-6 [8].

 

Command Header Identifier

(CHI) Null field.

 

Length of the Command Header

Length of the Command Header (CHL), coded over one octet, and shall not be coded according to ISO/IEC 7816-6 [8].

 

SPI to RC/CC/DS in the Command Header

The remainder of the Command Header.

 

Secured Data (part)

Contains the first portion of the Secured Data. The remaining Secured Data will be contained in subsequent concatenated short messages.

 

添加0348级联短信数据体后的短信体分析:

====== 第一条0348短信数据体

00 00 00 D7 00 00 00 04 00 00 00 00 00 00 02 33 00 02 01 31 30 36 35 38 34 32 37 00 02 01 38 36 31 35 38 30 30 30 30 30 32 30 30 00 40 7F 00 00 30 38 31 32 30 39 31 36 34 37 33 33 30 30 30 2B 00 01 00 F6 00 8C 

 

07 00 03           UDHL_IEIa_IEIDLA

B7 06 01           IEDa

70 00                IELb_IEIDLb

02 D9                CPL

0D                     CHL

00 00                 SPI

00 00                  KIC_KID

B0 00 20             TAR

00 00 00 00 00   CNTR

00                       PCNTR

 

00 00 00 00 90 00 01 01 91 00 17 6C 69 76 65 6D 65 6E 75 2F 74 72 61 76 65 6C 2F 62 65 69 6A 69 6E 67 92 00 02 00 00 93 02 A1 01 00 15 01 10 00 31 00 31 00 32 00 37 4E 2D 5C 71 51 6C 56 ED FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 14 00 2E 00 2E 89 7F 57 CE 53 3A 65 87 6D 25 88 57 00 

 

04 26 00 01 01 

====== 第二条0348短信数据体

00 00 00 D7 00 00 00 04 00 00 00 00 00 00 02 34 00 02 01 31 30 36 35 38 34 32 37 00 02 01 38 36 31 35 38 30 30 30 30 30 32 30 30 00 40 7F 00 00 30 38 31 32 30 39 31 36 34 37 33 33 30 30 30 2B 00 01 00 F6 00 8C 

 

05 00 03     UDHL_IEIa_IEIDLa

B7 06 02     IDEa – referenceNum_totalNum_sequenceNum

 

31 53 F7 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 

 

04 26 00 01 01 

====== 最后一条0348短信数据体

00 00 00 90 00 00 00 04 00 00 00 00 00 00 02 38 00 02 01 31 30 36 35 38 34 32 37 00 02 01 38 36 31 35 38 30 30 30 30 30 32 30 30 00 40 7F 00 00 30 38 31 32 30 39 31 36 34 37 33 34 30 30 30 2B 00 01 00 F6 00 45

 

05 00 03 B7 06 06

 

FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 08 00 2E 00 2E 65 C5 6E 38 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 

 

 

26 00 01 00

 

蓝色 -- SMPP 格式数据

红色 -- 0348 格式数据

黄色 -- 被级联分割后的数据(多媒体卡接入规范下的要下发的数据)

你可能感兴趣的:(idea)