SMS-MT Example of Sending Message on Specified Port
This feature facilitates to send messages to specified port number of mobile phone device of recipients
The mentioned example code consists of UDH parameter that stores port number in typical Hexadecimal format
Following table describes the usage of attributes and their values used in the above code:
Tag Name | Description |
UDH | The UDH attribute must contain hexadecimal string as value. The length of hexadecimal string must be 14 or 24 alphanumeric characters long that also store the port number of mobile phone device and where message is to be delivered. |
Coding | For port based messaging, “coding” attribute must store the value 3. |
Text | This attribute contains message content in the Hex or simple textual format. |