There are also a lot of materials on the Internet for sending Chinese text messages in the gsm pdu mode. However, after so many days, I wrote my own experience as a record, it is also convenient for other later users to refer.
Many materials on the Internet do not talk about the development environment, so I still feel confused in some places.
My development environment:
Hardware: the GSM module uses the mc52i of Siemens, and the control chip is stm32
There are three methods to send and receive SMS messages: block mode, text mode, and PDU mode. PDU mode is supported by all mobile phones and can use any character set. This is also the default encoding method for mobile phones.
Text and PDU (Protocol Data Unit) modes are commonly used to send short messages. Sending and receiving text messages in text mode is si
Original link: http://www.cppblog.com/zhangyq/archive/2009/07/04/89245.html
There are three ways to send and receive SMS information: Block Mode, Text Mode, and PDU mode. PDU mode is supported by all mobile phones and can use any character set, which is the default encoding of the phone.Send short messages commonly used text and PDU (Protocol Data Unit, Protocol)
TCP segment of a reassembled PDU Grab packet found a TCP segment of a reassembled PDU, search a blog, find some Bo friends of the article, very well solve my problem, then share "TCP segment of a reassembled PDU" refers to not the IP layer of the Shard, IP shards in the Wireshark with "fragmented IP protocol" to identify. A detailed look, found that "TCP segment
In a layered network structure, for example, in an Open Systems Interconnection (OSI) model, a Protocol Data Unit (PDU) is established at each layer of the transmission system ). PDU contains information from the upper layer and the object attaching information of the current layer. The PDU is then transmitted to the lower layer. The physical layer actually trans
Principle and Implementation of GSM Chinese text message sms pdu encoding in Linux development
SMS is a specification developed by Esti (GSM 03.40 and GSM 03.38 ). There are two ways to send and receive SMS messages: text mode or PDU (protocol description unit) mode. In text mode, only common ASCII characters can be sent. To send images, ringtones, and other encoded characters (such as Chinese), The
This was learned in others' blogs when I solved the bug of sending a report via SMS on andorid. The description is very meticulous, after reading it carefully, you can solve the sms pdu format of CDMA by yourself. In addition, the original author also distinguished the byte by color, which is great.
[Stick to no color, cup, original link: http://blog.lytsing.org/archives/180.html]
The PDU forma
Article Source: http://www.wireshark.org/lists/wireshark-users/200806/msg00045.html
Wireshark-users: [wireshark-users] TCP segment of a reassembled PDU
Hello:Ethereal is showing lot of packets with "TCP segment of a reassembledPDU" in Info field.Which of the following is true:- Is the received packet IP-fragmented? I don't think so as IPflags/fragment-offset is all 0s.- Is this an TCP fragmented packet? I don't pkts coming out of order,so don't thin
Many people on the internet use the COM port to connect to the mobile phone, use the mobile phone modem, use the AT command to send text messages, introduce the principles of PDU encoding, and write a ready-made class for reference and use.
Smspduclass. CLs
Option explicit
'Preserve the local variable of the attribute valuePrivate mvarsmsclen as integer local ReplicationPrivate mvarsmsctype as string' local copyPrivate mvarsmsc as string' local copyPr
PDU is the core of most text messages, and only a few mobile phones only support the text mode (for example, the author's Moto c330 ). The PDU mode provides powerful functions than the text mode, but its encoding is more difficult than the text mode. In either mode, we can use the AT command control terminal to manage SMS sending, receiving, and deletion. The following describes the structure and encoding a
Currently, text and PDU (Protocol Data Unit) modes are commonly used to send short messages. Sending and receiving text messages in text mode is simple and easy to implement, but the biggest drawback is that you cannot send and receive Chinese text messages. PDU mode supports both Chinese text messages and English text messages. In PDU mode, messages can be sent
Tag: Message code NIC number submit add BSP phone creatA few days ago to start a 3G module, then daoteng a bit. Need to send mixed SMS in Chinese and English, so use PDU mode (do not know Google ^_^).The biggest problem of course is splicing PDU code (Python is so powerful, maybe a module), sure enough to find a SMSPDU module (link: HTTPS://PYPI.PYTHON.ORG/PYPI/SMSPDU). But the test found that the generated
i am the 51CTO lecturer Kanhaijiang, at the Institute 11.11( People's IT Learning Festival) Come on the occasion, and everyone to share my CCNA customs clearance experience. The text is coming ~ ~ ~in writing this title, I seem to have returned to the original to learn Cisco Qizaotanhei, but a fun time. Obviously, I am definitely not a network genius, no extraordinary talent, even at that time even a computer belonging to their own elusive, so in the
Java pdu SMS decoding and javapdu SMS
Java pdu SMS Decoding
If you are interested in long text message verification, try it.
Rewritten according to the python Method
1/** 2 * pdu sms resolution 3*4*5 * @ param pduPayload 6 * @ return 7 */8 public static String retrieveSMSInfo (byte [] pduPayload) throws UnsupportedEncodingException {9 10 int startPos = 3; 11 // #
Last week in the company encountered a problem, with Wireshark capture system to the network management reported data found that there are many messages are identified as "TCP segment of a reassembled PDU", and each piece of the message is 180Byte, at that time to see such an identity, Think is the IP message Shard, thought the System interface MTU value for the setting is small, through the command query found is 1500, has not been reset, at that tim
Long and long letter not verified interested can try
Rewritten according to the Python method.
/** * PDU SMS Resolution * * * @param pdupayload * @return/public static String Retrievesmsinfo (byte[] pdupayload) throws Unsuppo rtedencodingexception {int startpos = 3;//#Originator address int mrp_oa_len = Pdupayload[startpos]; byte[] Mrp_oa = new
Byte[mrp_oa_len];
System.arraycopy (Pdupayload, startpos + 1, Mrp_oa, 0, Mrp_oa_len);
startpos = star
These two days received the test at command to send information, when sending PDU format information need to manually input characters too much, more trouble, would like to write a small script with py, I am here to install is Python32. It seems that you also need to install the Pyserial package. PDU Information conversion can refer to http://www.multisilicon.com/_a/blog/a22201774~/pdu.htm
Directly on the
Because the study of the major is computer network technology, but in school, and did not learn how much network knowledge, so in order to be worthy of the professional, in 06, when working in the Galaxy education in hit a CCNA class, two weeks of the course, a few hours a day.The result is still not learned, because there is too much theory, too little real exercise.So I bought a book, repeatedly see, the theoretical things finally understand, the fo
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.