The ActiveXMS Mobile Messaging SDK (EMS Edition) is a lightweight COM/ATL DLL for wireless
developers building content for EMS (Enhanced Messaging Services) enabled Text Messaging devices. The SDK
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
and
ordering, and the complexities of working with the PDU protocol. Content
types include Animations, Pictures, Sounds, Melodies and Formatted Text.
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 message with an animation, sound and simple text
message, to the phone number , this can be achieved through the SDK with the following simple lines
of code:
Set objText =
objMessage.AddComponent(Text)
objText.Bold = True
objText.MessageText = "Welcome!"
objText.FontSize = Large
Set objAnimation = objMessage.AddComponent(Animation)
objAnimation.Animation = laughing
Set objSound = objMessage.AddComponent(Sound)
objSound.Sound = clapping
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 or SMSC gateway. Alternatively, you can use the UserData and
UserDataHeader parts of the message to
deliver it through an Internet gateway (details depends on the gateways
implementation).
You no longer need to worry about understanding the complex
specifications of the EMS standard - all the octet handling is taken care
of by the SDK.
The SDK 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 SDK can also receive and decode PDU strings to give users
bitmaps, melodies, and much more. The SDK 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 SDK 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. Try the
Derdack Message Master SDKs to enable connectivity to your GSM Modem or
SMSC Gateway.