You are on page 1of 3

ASCII To PDU Converter (Convert ASCII to PDU and vice versa)

AverageCoder.Net

Daniel Tuesday, January 8th, 2008 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 Download PDUCONV 0.1 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
AverageCoder.Net - Programming - Software - Techie Stuffs URL of this document: http://averagecoder.net/ascii-to-pdu-converter-convert-ascii-to-pdu-and-vice-versa.htm Document created: July 22nd, 2011, 3:33 pm

This entry was posted on Tuesday, January 8th, 2008 at 3:27 am and is filed under Tested Software You can follow any responses to this entry through the Comments (RSS) feed. You can leave a response, or trackback from your own site.

11 response to "ASCII To PDU Converter (Convert ASCII to PDU and vice versa)"
1.) Asari says:
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 2.) Daniel says:
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 3.) Lambert says:
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 4.) Daniel says:
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 5.) Max the Micro Niche Finder says:
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! :) 6.) Daniel says:
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... 7.) Tavio says:
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! 8.) Liza says:
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 9.) Michael Lindborg says:
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 10.) Daniel says:
January 16th, 2010 at 1:46 am

@Michael: Yes, I just updated the link and sorry for late reply, kinda lazy ^^ 11.) Sasha says:
December 22nd, 2010 at 3:03 pm

Hi Daniel, I need your kind help to provide me with application or software that can help to convert Hexadecimal PDU Message(original SMS is in Arabic) to readable arabic SMS.

The comment form is not available in PDF. But you can open the post in a browser window and comment there.

AverageCoder.Net - Programming - Software - Techie Stuffs is proudly powered by WordPress. PDF created by ContuttoPDF.

You might also like