Visual Basic Version of ASCII-to-PDU and PDU-to-ASCII Converter Functions

Posted by Daniel - 1,071 Views

ASCII to PDUI had posted related article about ASCII to PDU Conversion but that was written in C language. I got nothing to do today and when I explored my old archives, I found this one. A bundle of Visual Basic Functions to convert ASCII to PDU and vice versa.

I have no idea who is the original coder but as long as I can remember, a friend gave it to me. Never mind that, I’ve search the net and found nothing similar to it so I guess it can be treated as belong to public, or at least I want it that way :D You can let me know if I am wrong. I am not putting it under Software Collections - Free In House category since I am not the original coder.

Same as the C version, this bundle of functions contains two major functions: ASCII2PDU and PDU2ASCII. The first one is to convert ASCII to PDU and I think you can guess what the second one does.

pducodecdemo.jpgCompared to SMSCodec Delphi Component code, this one has different method even both are using high-layer character manipulations.

The demo project is also included with this post and as usual, if you find anything weird in its behaviors, don’t hesitate to let me know. Open the VB6 demo project - the functions bundle is under the [Modules] treeview.

An adaptation from the original VB6 code into VB.Net code is also available along with the demo project for VB.Net.

Available Downloads

Related resources

__________________________

Related posts brought to you by Yet Another Related Posts Plugin.

share this article

Digg del.icio.us Netscape StumbleUpon Yahoo! MyWeb reddit Furl Magnolia Newsvine Technorati SlashDot Blinklist Simpy Google
This post as PDFPosted in: Programming - March 2008

3 Responses to “Visual Basic Version of ASCII-to-PDU and PDU-to-ASCII Converter Functions”

  1. eenx Says:

    M…It’ll be nice if I can implement it into my brand new SMS Gateway.

    Btw, where did you get the info?

    eenx’s last blog post: Wow, I can make an FLV file and FLV player!

  2. Daniel Says:

    Hi Enx, good to see you here :) If you mean the info on how the GSM-SMS works, the underlying format and the SMS-PDU info, below is the link to - in my opinion - the only web resource which can describes this matter in a very clear way:

    http://www.dreamfabric.com/sms/
    ___________

    Daniel

  3. eenx Says:

    Thank’s brow, clean explanations and clean words to read.

    eenx’s last blog post: Wow, I can make an FLV file and FLV player!



Leave a Reply


Options for your comment:





Get my Full Feed Here or you can subscribe to one of my category based feeds below:
Coffee Break

Latest Blog Entries

Categories

Neighbours and Friends

Login Here

Comments - Thanks Guys :)

  • Coarveadvexon: As the call, so the echo :D Coarveadvexon’s last blog post: Ford Kuga 2.5 Turbo
  • Chat: nice thank you very much for this article.
  • a_suliman: thanx for every thing
  • Miss Lunatic: Jaja, it’s a yolk. Thanks for the compliment ;) Miss Lunatic’s last blog post: Pitas y guacamole
  • Miss Lunatic: Thank you! Your style css is awesome. I’m going to start customizing with it. Thank you :D Miss Lunatic’s last blog...