ASCII To PDU Converter (Convert ASCII to PDU and vice versa)
Posted by Daniel - 12,325 Views
PDUCONV is a C source code package designed to convert the ISO-8859-1 ASCII string into a PDU-coded array as described in ETSI GSM 03.38 and ETSI GSM 03.40 and vice versa.
These functions was released to the public domain in 2003 by Mats Engstrom, Nerdlabs Consulting. Contains two callable function: ascii_to_pdu and pdu_to_ascii. From the names I guess you know what each function does.
If you would like the Delphi version of SMS-PDU encoder/decoder, you may consider the SMSCODEC - my own version of SMS processor packed as a Delphi component.
Know nothing about Delphi or C, but comfortable with Visual Basic? You can try the Visual Basic version of PDU Converter module.
Available download
Related Resources
- Using CPort Delphi Component to read data from your cellphone
- SMS and the PDU format
- Using VB.NET to Encode SMS and EMS
The following posts are programmatically considered as related to the current post by YARPP Plugin:
10 Responses to “ASCII To PDU Converter (Convert ASCII to PDU and vice versa)”
Leave a Reply
Hi, my name is Daniel Nugraha, a single male live on an island called Java, Indonesia. This is the place for me to share my interest in computer programming.
-
Get my Full Feed Here
Comments - Thanks Guys :)
Rangga Kusuma: Gan, Tengkiu buat postingan yang sangat berguna. Kebetulan ada project utk bikin sms gateway, dan converter Agan sangat berguna utk...
Chuck Norton: I actually went ahead & bolted over to Justin’s Get The Image plugin here: http://justintadlock.com/ar...
Chuck Norton: Question: is it possible to insert something like [custfieldimg=”joice1.jpg,15 0,1:1″] into the actual templates instead of...
Therese Lachance: Hi, Any idea how to have ContuttoPDF fetch the correct page language?
tresloukadu: yo how did u fixed when the tags shows <? and it shows < “& l t ; ” ?? please send me an email.














September 29th, 2008 at 6:58 pm
Using your “PDUASCII CODEC DEMO” to convert How are you?, I got hexa C8F71D14969741F977FD0700 but using http://twit88.com/home/utility/sms-pdu-encode-decode , I have got C8F71D14969741F977FD07 also when I manually covert the answer is C8F71D14969741F977FD07
September 30th, 2008 at 2:34 am
Hi Asari, if you enter “..C8F71D14969741F977FD0700″ or “..C8F71D14969741F977FD07000000″ in the Hexadecimal PDU Message Textarea on twit88.com, you will get the same result. I have been using the PDU generated by PDUASCII CODEC to send sms and it’s working fine, but thanks for the info, it maybe not affecting the sms-send but may affecting the other process, will check this out…
___________
Daniel
October 2nd, 2008 at 9:39 pm
Hi Daniel,
was wondering if you have any code for decoding EMS… the one from twit88.com doesn’t decode correctly when receiving EMS…
thanks
October 4th, 2008 at 1:51 am
@Lambert: No, I don’t have the code to handle EMS, but I think hesicong has what you need. You can check his work on one of his CodeProject.Com article titled: Using VB.NET to Encode SMS and EMS. It’s a good one…
__________
Daniel
March 24th, 2009 at 1:20 pm
Hiya, i have seen your site when searching a few weeks ago and i really love the design! I just bought a new 3 character domain (cost me a packet) for a niche review blog, and i was wondering if your design is a free or paid one? I’m new to Wordpress and about to set it up, and i would really like to get something with a similar look to yours. Any ideas where i could download or buy something similar? Thanks for your help! :)
March 25th, 2009 at 1:05 am
@Max: It’s a free one with some modifications, but mostly by installing plugins. The original theme came from seobligi, the link is at the footer of this page, you can start there…
April 12th, 2009 at 4:41 am
Hello!
I’m testing this code and with test.c I get these results:
Original ASCII =hellohello
PDU=e8 32 9b fd 46 97 d9 ec 77
The last byte is “77″, it shoul dnot be “37″??
Thank you!
April 22nd, 2009 at 2:03 pm
Hey, nice tips. Perhaps I’ll buy a glass of beer to the person from that chat who told me to go to your blog :)
Liza’s last blog post: Laser quit smoking
December 29th, 2009 at 11:13 pm
Looking for a PDU converter brought me to this site. It looks like the PDUCONV would suit my needs, but the link to nerdlabs is broken and there doesn’t seem to be a mirror anywhere. Do you have it by any chance? Would really help me out.
Cheers,
Michael
January 16th, 2010 at 1:46 am
@Michael: Yes, I just updated the link and sorry for late reply, kinda lazy ^^