Binary SMS is an SMS message type that can include rich content for being sent to mobile phones
or devices through SMS. Binary SMS is used to send more complex data than standard
text messages. The maximum message length is 140 octets.
In this code PID means Data Coding Scheme, DC is a Protocol Identifier.
This structure can be implemented as it is shown in the following example:
<sms> <pid>00</pid> <dcs>F5</dcs> <udh>0605040B8423F0</udh> <ud>EA0601AE02056A0045C60C037761702E6F7A656B692E6875000801034F7A656B69000101</ud> </sms>Interpretation of the string of characters between the UDH tags:
06: User Data Header length (6 bytes follow)
05: UDH IE Identifier: Port numbers
04: UDH Port number IE length (4 bytes follow: 2 for Destinating port, 2 for Originating port)
0B84: Destinating port
23F0: Originating port
Interpretation of the string of characters between the UD tags:
EA: Transaction ID
06: PDU type (push)
01: Length of header (1 byte follows)
AE: Content-type: application/vnd.wap.sic
These are followed by the XML of the WAP Push message type encoded into WBXML format, following the respective encoding rules. This is the Wap Push message:
<si> <indication href="..." action="..."> ... </indication> </si>Binary SMS messages are XML-formatted textual SMS messages that have been formatted with WBXML (WAP Binary Extensible Markup Language). WBXMLs are "tag transformers", which means that for individual XML tags, a binary byte is associated. The outcome of the WBXML transformation will be small in the number of generated bytes. For instance even URL content can be shortened by WBXML, where 0D stands for http://www. which will result the following content:
You can find the WBXML specification here:http://www.w3.org/TR/wbxml/
Get the right SMS software!
Ozeki NG SMS Gateway
v3.15 (4.5 Mb)
This is a 30 day trial
of the world's best
7 things to avoid when
choosing an SMS gateway
for your organization!
Find out more...