Delphi SMSCodec (SMS Processing Component)
Posted by Daniel - 16,936 Views
SMSCODEC 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,
- Download the zipped component source then extract it.
- Copy “smscodec.pas” into Delphi Lib folder
- Use [Component] - [Install Component] menu item in Delphi IDE.
- Click [Browse] on the Unit file name textbox then find “smscodec.pas” to open it.
- Click OK then choose [Yes] to confirm the installation. The SMSCodec component is placed on the [averagecoder] tab.
Available download:
- Download the Delphi SMSCodec (212 KB).
Related Resources:
- Visual Basic Version of ASCII-to-PDU and PDU-to-ASCII Converter Functions
- Using CPort Delphi Component to read data from your cellphone
- C Version of ASCII To PDU Converter
- SMS and the PDU format
The following posts are programmatically considered as related to the current post by YARPP Plugin:
- CPort Component (Serial port interface component for Delphi)
- MPEG Audio Component (A Delphi component to play audio files)
- An example: Using CPort Delphi Component to read data from your cellphone
- Runtime-Form-Creation. Automatically creating child forms in a Delphi MDI application with a component array
- XP Menu Component (MS-Office XP style on Delphi menu and toolbar)
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
Popular Entries
- Passing arguments to your VB.NET console application
- Microsoft Excel Import External Data Problem: When Microsoft Query doesn’t recognize some of your parameters
- Resize Image or Crop Image with Joe Lencioni’s Smart Image Resizer, WordPress Setup
- How to Get User Input and allowing more than 256 characters to be entered on .NET Console Application
- ASCII To PDU Converter (Convert ASCII to PDU and vice versa)
- ConsoleProgressBar - Simple Progress Bar Function for your VB.Net Console Application
- An example: Using CPort Delphi Component to read data from your cellphone
- Runtime-Form-Creation. Automatically creating child forms in a Delphi MDI application with a component array
- CPort Component (Serial port interface component for Delphi)
- SmartImageResizer Plugin, WordPress plugin based on Joe Lencioni’s Smart Image Resizer













