Decoding PDU SMS

Posted on 2005-05-16
Last Modified: 2013-12-09

I am developing a server application of communications for a service of Management of Fleets by means of integrated modules GSM/GPRS and GPS.

For the communication by GSM with the mobile equipment we are using a modem GT47 of Sony-Ericsson.  

The problem that I have is that I need aid to be able to obtain the data of the SMS that receives the modem GT47, that is connected through port COM1 the server.  

I am using a developed API here in Spain, but a function does not exist to collect the data in Text format, but that only exists the possibility of doing it in PDU format.  

The server is being developed in C++, and very would be thanked for if they indicated the algorithm to me necessary to code and decode messages of PDU format to Text format.  

Thank you very much, and I wait for anxious your answer.
Question by:Niteost
    LVL 13

    Accepted Solution

    Hi ,
         Interestingly this was the first assignment that was given to me when I started my professional career some 4 years back. I was given this page where the algo is explained and I needed to code it in C.... Well here is the link for you and you can make your own Class for Parsing this data. It is really simple and it took me roughly 2 days to complete it when I was fresh out of University.....
    and this page which carries almost the same example....

    LVL 13

    Expert Comment

    Here is a VBScript that you can use to verify your algorithm.

    LVL 8

    Assisted Solution

    PDU SPY is a free of charge tool to read SMS in PDU mode from SIM card, but for coding of PDU SMS as well. It works all popular mobile phones and it is tested with the GSM module listed on as well.

    See also


    Author Comment

    Thank you so much,

    I´m goint to work with yours indications and use the information that you have facilitated to me, and I hope to solve this problem.

    Best regards.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    MAC Filtering: MAC filtering is like handing a list of names to a doorman. If someone comes to the door and mentions a name, this name is checked by the doorman on his list and granted or denied access by this. This means that if someone menti…
    DECT technology has become a popular standard for wireless voice communication. DECT devices are not likely to be affected by other electronic devices and signals because they operate in a separate frequency-band.
    This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
    Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now