Joke Collection Website - Blessing messages - How can android display a long short message as a short message?
How can android display a long short message as a short message?
1. When will the mail be unpacked? This problem is actually related to mobile phone terminals. Some terminals are automatically split into several normal short messages, and some are long short messages; I will see the agreement later;
2. The order of sending after unpacking.
If the terminal sends several normal short messages, the receiving terminal will display them in the order of receipt. It shows several short messages.
If the terminal unpacks and sends an extra-long message, the SMS center/SMS gateway will forward the message according to the protocol requirements. After receiving any of them, the receiver will not display them immediately. When the number of messages it sees is less than the number of message packets, it will unpack instead of assembling. When the number is equal, a normal short message will be assembled. Let's look at the CMPP protocol:
//When the short message exceeds 70 Chinese characters, the first part of the short message.
E000000//4/Total length of 4 bytes of data
05 00 00 00//4 byte command number
3f38b 0 1//4 byte serial number
313b6e 0ba28461f0//8 bytes msg_id
30 35 37 37 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00//2 1 byte Dest _ Id
00 00 00 00 00 00 00 00 00 00 00/10 byte Service_Id
00// 1 byte TP_pid
01/1byte TP_udhi
08// 1 byte Msg_Fmt
38 36 3 1 33 37 35 30 32 34 33 33 30 33 00 00 00 00 00 00 00 00 00//2 1 byte Src _ terminal _ Id
00// Registration _ Delivery
8B// Message length
06 // indicates the length of the super-long message header.
08 // indicates that the number of double bytes mod 65536 is used as the sign of super-long short messages.
00 2A // Defines the identification number of a very long short message.
02 // Total length of messages
01/serial number
00 6 1 00 6 1 00 6 1 00 6 1 00 6 1 00 6 1 00 6 1 00 6 1 00 6 1 00 6 1 00 6 1 00 6 1 00 6 1 400 4e2a 4 e。
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00//8 bytes reserved
//When the short message exceeds 70 Chinese characters, the second part of the short message.
78 00 00 00
05 00 00 00
49 38 0B 0 1
3 1 3B 74 8B A2 84 62 0D
30 35 37 37 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
00
0 1
08
38 36 3 1 33 37 35 30 32 34 33 33 30 33 00 00 00 00 00 00 00 00
00
23
06 08 04 00 2A //
02 // Total length of messages
02 // serial number
00 6 1 00 6 1 00 6 1 00 62 00 62 00 62 00 62 00 62 00 62 00 62 00 62 00 62 00 62 00 62 00 62 00 62 00 62 00 62 00 62 00 62 00 62 00 62 00 62 00 62 00 62 00 62 00。
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- Previous article:How to open siri in Apple ios 1 1
- Next article:What should I do if I can't find the violation by SMS?
- Related articles
- How to say the greeting on the tenth day of the Lunar New Year?
- The Office of the Provincial Department of Culture and Tourism issued a notice to start the application and selection of provincial tourist and leisure blocks-
- Creative New Year greetings (original, with additional points)
- How to prevent telecom mobile phone number from being blocked
- The US version of BlackBerry priv can't be used normally after returning to the factory.
- How to clear the historical information of Shen Wan Hongyuan
- Where can I see the SMS intercepted by vivox9plus?
- Seventy-six sentences in the copywriting collection of friends circle after the baby was born.
- What happened when I received the automatic deduction information from Fubon Insurance?
- How does oppo publish intercepted short messages?