Ozeki NG SMS Gateway logo OZEKI NG SMS Gateway
"The World's most reliable SMS gateway software!"
info@ozekisms.com
Tel.: +36 1 371 0150
SMS Gateway to send SMS via GSM modem or IP SMS connection Overview SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection Quick start SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection Download SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection Manual SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection How to buy SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection FAQ SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection Contact Us SMS Gateway to send SMS via GSM modem or IP SMS connection
OZEKI NG SMS Gateway - Product Guide

Wappush Contents | SearchDCS

Home > Product Manual > Appendix > C - Message types > Binary XML

SMS Gateway SMS Gateway Home

  Product Manual
  Introduction
  SMS technology
  Installation Guide
  User Guide
  Developers Guide
  Examples and Solutions
  Appendix
  A - Terms and definitions
  B - References
  C - Message types
  Introduction
  OTA bitmap
  Operator logo I.
  Operator logo II.
  Ringtone
  Wappush
  Binary XML
  DCS
  PID
  VCard
  VCalendar
  Special SMS Message Indication
  Bookmark
  MMS:XML
  WAP Browser Settings
  SyncML settings
  OMA OTA Settings
  USSD
  WAP Push SL
  Picture message
  D - Database connection strings
  E - SMS alphabet
  F - GSM error codes
  G - SMSC settings
  H - MMSC settings
  I - GSM operators
  J - SMPP providers
  K - GSM modems, phones
  L - Error codes
  M - Country codes
  O - SMPP Error codes
  W - Wireshark Capture
  FAQ
  Feature list
  Commercial Information
  Search
  Cookie policy
 


Automated phone calls?
Ozeki Phone System XE VoIP PBX software is an advanced PBX built for automated voice calls and 2 way SMS messaging. It has outstanding APIs for software developers. It can be used for:

Phone calls from SQL
Phone calls from HTTP
Voice and SMS applications

Callcenter developers
If you are working on telephone solutions, please check out the Ozeki VoIP SIP SDK.
It can be used to create VoIP client and server software.

Contact Us!
If you wish to get further information, do not hesitate to contact us!

E-mail: info@ozekisms.com

If you have a technical question, please submit a support request on-line.

Mobile message type specification - Binary SMS XML
(SMS message type, SMS message format)

Introduction

To be able to send a binary XML SMS, you need to have a thorough knowledge of the structure of an SMS message. You need to be familiar with the following: Data Coding Scheme (TP-DCS), Protocol Identifier (TP-PID), User Data Header (UDH) and User Data (UD).
Also, you need to be able to encode different message types into WBXML format. This is usually different with each message type.
In the SMS message to be sent, the values mentioned above have to specified as hexadecimal numbers.

Why it is convenient

This message type allows you to send all types of binary messages.

Message type

SMS:BINARY:XML

The format of the message data is:

<sms>
    <pid>PID in hexadecimal format (1 byte)</pid>
    <dcs>DCS in hexadecimal format (1 byte)</dcs>
    <udh>UDH in hexadecimal format</udh>
    <ud>UD in hexadecimal format</ud>
</sms>

Take a look at an example (e.g., Wap Push):

<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="http://wap.ozeki.hu" action="signal-high">
        Ozeki
    </indication>
</si>

SQL example:

If you use the Database user to send and receive SMS messages with Ozeki NG - SMS Gateway, you can use the following SQL statement to send a Binary XML message, which is a WAP PUSH Service Indication message:


insert into ozekimessageout (receiver,msgtype,msg,status) values ("+36205222245",
    "SMS:BINARY:XML","<sms><pid>00</pid><dcs>F5</dcs>
    <udh>0605040B84</udh>
    <ud>EA0601AE02056A0045C60C037761702E6F7A656B692E6875000801034F7A656B69000101</ud>
    </sms>","send");




Next page: DCS
Copyright © 2000 - 2017 Ozeki Informatics Ltd.
All rights reserved

Software PBX for Windows | VoIP SDK   |   Legal information   |   Privacy policy   |   Terms of use
Please, address your inquiries to info@ozekisms.com