Delphi SMSCodec (SMS Processing Component)

Posted by Daniel - 16,936 Views

averagecoder_smscodec.gifSMSCODEC is my own Delphi version of SMS Encoding/Decoding component. Its a simple one but quite enough to assemble a PDU format of an SMS send message to be sent via cellphone and to decode SMS message (received message) from my cellphone to get the sender number and the message content.

Several functions that you can use to perform SMS processing are: PDU7BIT2ASCII, PDU8BIT2ASCII, PDU16BIT2ASCII, ASCII2PDU7BIT, DecodeSMS, and EncodeSMS. Some lines in the component source code are commented and a demo/usage example project is also included in this package.

If you only need a utility to test the AT-Command of a GSM modem or a cellphone you may consider AT-CMD Tester, my GSM AT-Comand utility or a more complete one, the PDUSpy.

Installing Delphi SMSCodec

Delphi SMSCodec requires CPort Component to be installed. If you haven’t done it yet, please check the CPort instalation steps on my other post. If you have the CPort installed, follow these steps to install Delphi SMSCodec,

  1. Download the zipped component source then extract it.
  2. Copy “smscodec.pas” into Delphi Lib folder
  3. Use [Component] - [Install Component] menu item in Delphi IDE.
  4. Click [Browse] on the Unit file name textbox then find “smscodec.pas” to open it.
  5. Click OK then choose [Yes] to confirm the installation. The SMSCodec component is placed on the [averagecoder] tab.

Available download:

Related Resources:

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: Tested Software - January 2008 | raw