ش | ی | د | س | چ | پ | ج |
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 |
069189190150132006918908080008712042518192818406280633062A064700200627064A0646062A06310646062A0033003000200631064806320647060C00200032002B0032002006AF064A06AF062706280627064A062A00200647062F064A06470020063406280627064606470020062A06270020063306270639062A002000320030003A00340039003A003200310020062A06270631064A
***06918919015013
06>>>Length (91/89/19/01/50/13) 91=1 Len
91>>>+
8919015013>>>9891100531
***200691890808000871204251819281
TP-DCS : Data Coding Scheme (08)
TP-SCTS : Time Stamp
712042518192>>>YYMMDD:170224
518192>>>HHMMSS:151829
TP-UDL(User Data Length) & TP-UD
***8406280633062A064700200627064A0646062A06310646062A0033003000200631064806320647060C00200032002B0032002006AF064A06AF062706280627064A062A00200647062F064A06470020063406280627064606470020062A06270020063306270639062A002000320030003A00340039003A003200310020062A06270631064A
0628 has 2 Length :06/28
User Data Length :
132 Decimal to Hex ?!!!
132>>>132\16 & 132 Mod 16>>>84
Concatenated SMS
in every part 70 Characer including space
05 00 03 CC 03 01
05 00 03 CC 03 02
05 00 03 CC 03 03
Field1: Length of UDH
Field2: IEI (information Element Identifier)-1 octet
Field3: IEL(information Element Length)-1 octet
Length Excluding IEI
Field4 : Unique Refrence number For All Parts-1 octet
From 00 to FF ( 00-FF )
Field5 : Total number of parts-1 octer
00-FF ... Not Be Zero
Field6 : this part's number in sequence-1 octet
Start from 1 To
Sending Message : ( Single Part )
PDU
07912160130300F411000A8158888700890000aa27D3E614D42CCEE7E17319342FBBE920B3FCDD0605A9A0E1BBDD0EBBC9206A794E2FCB01
SCA(Service Center Address)07912160130300F4
length 07
Address type 91
Service center address 2160130300F4
PDU-TYPE11
Lenght of the address : 10>>>0A
Address Type : 81
another Ex. Submit-SMS
Message Split into two part
just part 1 :
007100098121436587F90008008C050003000201063306440627064500200639064406CC0020062D06270644062A002006860637064806310647002006450646002006270644062706460020062F06310020062C064406330647002006470633062A06450020064800200646064506CC0020062A06480646064500200635062D0628062A002006A9064606450020063406280020063306270639
Split Message >>>> 05 00 03 00 02 01
Data Coding Scheme >>> 08 ( UCS ) Like Persian format
00310D0881010035850008011E0645064606380645002006280627063400200641063106320646062F0645
Status Report : 31
MR ( Message Refren e ) : 0D
UDL ( User Data Length ) : 16 >>> Hex=10
UD ( User Data ) : 0645064606380645002006280627063400200641063106320646062F0645
User Data Header (UDH) is a binary structure which may be present at the start of a short message in the Short Message Service in GSM. It does not contain any text, but it specifies how the message should be formatted and processed.
UDH can be used to form Concatenated SMS
SMS (Short Message Service) can contain up to 160 characters, using the 7-bits GSM default alphabet or 140 characters for an 8 bit alphabet or 70 characters for a 16 bit UCS-2 alphabet.
MultiPart SMS : Submit-SMS
----- PDU---1/7 ------
0071000881010035850008058C050003000701062F0631002006AF0648063406CC200C0647062706CC00200633063106CC002006AF064406A9063306CC002006330627064506330648064606AF0020062706320020062C064506440647002006330627064506330648064606AF002006AF064406A9063306CC0020006100350030002006480020006100350031002006280647002006470645
08(Length)-81-10005358>>>088101003585
User Data Length (UDL) : Decimal=140>>>Hex=8C
UDH ( User Data Header ) : 050003000701
05 Length 00 03 00 Refrence 07 Total 01 Number
Length: 152
----- PDU---2/7 ------
0071000881010035850008058C050003000702063106270647002006AF0648063406CC200C0647062706CC00200645062D0628064806280020062F06CC06AF063106CC002006470645068606480646002006AF064406A9063306CC002000610032003100200645063406A906440020062A0628062F06CC064400200073006D00730020062806470020006D006D0073002006280647200C0635
Length: 152
----- PDU---3/7 ------
0071000881010035850008058C05000300070306480631062A0020062E0648062F06A906270631002006CC06A900200645063406A9064400200628063306CC0627063100200631062706CC062C0020064800200622063206270631062F06470646062F0647002006270633062A002E00200645063906450648064406270020062806270020062706410632062706CC06340020062A0639062F
Length: 152
----- PDU---4/7 ------
0071000881010035850008058C0500030007040627062F002006A906270631062706A9062A06310020062706330020062706450020062706330020062F0631002006330627064506330648064606AF00200028064506390645064806440627064B0020003300300030002006A906270631062706A9062A06310029002006280647200C063506480631062A0020067E06CC0634200C06410631
Length: 152
----- PDU---5/7 ------
0071000881010035850008058C050003000705063600200073006D0073002006CC06270020067E06CC0627064506A900200645062A064606CC0020062806470020067E06CC06270645002006860646062F002006310633062706460647200C062706CC002006CC06270020006D006D00730020062A0628062F06CC06440020064506CC200C06340648062F002E0020062A0628062F06CC0644
Length: 152
----- PDU---6/7 ------
0071000881010035850008058C0500030007060020067E06CC0627064500200645062A064606CC0020062806470020067E06CC06270645002006860646062F0020063106330627064606470020062706CC0020062A062C063106280647002006460627062E06480634062706CC0646062F06CC002006270633062A002006A9064700200647064606AF06270645002006270631063306270644
Length: 152
----- PDU---7/7 ------
007100088101003585000805740500030007070020067E06CC0627064506A900200637064806440627064606CC0020062F0631002006330627064506330648064606AF00200648002006AF0648063406CC200C0647062706CC002006270646062F0631064806CC062F06CC00200631062E0020064506CC200C062F0647062F002E
Length: 128
SMS-SUBMIT
Message To : 10005358
00710E088101003585001A000E050003CC07010645064606380645
bit(s) | Meaning |
---|---|
1-0 | TP-Message-Type-Indicator (TP-MTI) |
2 | TP-More-Messages-to-Send (TP-MMS) in SMS-DELIVER (0 = more messages) |
2 | TP-Reject-Duplicates (TP-RD) in SMS-SUBMIT |
3 | TP-Loop-Prevention (TP-LP) in SMS-DELIVER and SMS-STATUS-REPORT |
4-3 | TP-Validity-Period-Format (TP-VPF) in SMS-SUBMIT (00 = not present) |
5 | TP-Status-Report-Indication (TP-SRI) in SMS-DELIVER |
5 | TP-Status-Report-Request (TP-SRR) in SMS-SUBMIT and SMS-COMMAND |
5 | TP-Status-Report-Qualifier (TP-SRQ) in SMS-STATUS-REPORT |
6 | TP-User-Data-Header-Indicator (TP-UDHI) |
7 | TP-Reply-Path (TP-RP) in SMS-DELIVER and SMS-SUBMIT |
004008810100358500083231213121530016050003CC030106450646063806450200062806270634
DeliveyDate/Time :
323121312153>>>2023/12/13 13:12:35
TP-UDL : Decimal:22>>>Hex:16
TP-UDH : 050003CC0301