|
|
ActiveXMS PDU Toolkit v1.0 - Complete SMS Content Creation
Click here for a complete list of features
The ActiveXMS PDU Toolkit is a lightweight ATL COM DLL for wireless
developers building content for SMS Text Messaging devices. The Toolkit
provides a rich set of functions to create the PDU (Protocol Description
Unit) strings for all types of rich media messages to interact with
channels such as GSM/CDMA Modems, direct SMSC connections, and cellphone-cable
connections.
This relieves the developer from dealing with issues like octet creation,
ordering and the complexities of working with the PDU protocol. Content
types include Text Messages, Flash Messages, Picture Messages, Operator
Logos, CLI Icons, Ringtones, Downloadable Profiles, vCards and vCalendars.
Complete encoding (for send) and decoding (for receive) functions are
provided. Also supported is multi-part messages, Unicode,
auto-recoverability, cache support for decoding and much more.
For example, to send a simple Picture Message with the text ‘Hello’ to the
phone number through the SMSC with a validity
period of 8 weeks through a GSM device, developers currently need to
manually compute and construct the following 3 PDU strings:
F451000BF400F5C88C0B0504158A
C6C6FC00000000
CB2C880000000
001FA2CBE8AA28AA6CB220000
000000109AB2C0820
F451000BF400F5C88C0B0504158A
F
ABD634EFAC994D10A89144F28000000
010AA8914DF28D134D
000000000000020
F451000BF400F5C8180B0504158A
00000000
This can be achieved through the toolkit with the following simple lines
of code:
Set objPictureMessage = objActiveXMS.CreatePictureMessage( _
“”,
“Hello”,
“c:\temp\hello.bmp”)
This example populates a collection of PDU Objects which can be enumerated
for their payload and octet length for immediately delivery through a GSM
Device. Alternatively, you can use the UserData part of the message to
deliver it through an Internet gateway (details depends on the gateways
implementation).
With Picture Messages, Downloadable Profiles, and Multipart messages, these
PDUs can become extremely complex to manually create.
ActiveXMS relieves the developer of all issues regarding the PDU protocol –
it returns all PDU strings and their lengths so they can be easily
transmitted via a GSM device.
The Toolkit can also receive and decode PDU strings to give users
bitmaps, RTTTL files, and much more. The toolkit can handle receiving the
PDUs in any order and will notify the developer when the complete message is
received. The component can even recover itself if the containing
application crashes or is shut down.
Sample code is included for Visual Basic, Visual C++, Visual Basic.NET and
C#.NET. Integration with .NET is done through the COM Interop layer.
Note that the toolkit does not actually handle the communications (serial,
TCP/IP, etc) with the GSM device - it only manages the translation of the
PDU strings. However, some basic sample code is provided to communicate with
the serial communications port.
Click here for a complete list of features
|