Link to home
Start Free TrialLog in
Avatar of LazyJeff
LazyJeff

asked on

Decoding SMS PDU-messages

I use Nokia Datasuite and AT-commands to retrieve sms-messages from mobile phone. It returns them in PDU mode like this:

0791534850020200040C915348707795140000108092327123800DD4F29C0E6A97E7F3F0B91C02

That PDU data contains message "Test message!" from number +358407775941

This site has detailed description of that format:
http://www.gsm-gps.de/sms-pdu-mode.html

Now i need somebody to code Delphi prosedure that decodes PDU message into plain text and return message part and senders phone number..

I don't handle bit-shifting etc. very well.. :(

It would help my project VERY VERY much, and i can guarantee that the inventor of that Delphi procedure will be mentioned in my programs credits and manuals..

-Lazyjeff-
email: seppo@sormunen.com

ASKER CERTIFIED SOLUTION
Avatar of jeurk
jeurk

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LazyJeff
LazyJeff

ASKER

Functions are fine, but they cannot decode 160 long messages ! Short messages work just fine, but end of longer massages is messed up..

Any ideas what could cause this ? And what if senders phone number is different lenght ?

- Lj -
honnestly I don't know...
You might want to write to the author of the functions ?
I'm doing some research with my friend.. I will email the author about these features. If we find the problem i let u know.. The points are reserved to you Jeurk anyway.. so when we solve this problem i send the points..

This is very intresting problem and i'm going to solve it !

Those routines helped A LOT !

- Lj -
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

accept jeurk's comment as answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Thanks,

geobul
EE Cleanup Volunteer