Sms - Dovado pro tinyac Reference Manual

Universal broadband router
Table of Contents

Advertisement

28
Reference Manual 8.0.0
5.7

SMS

The router can handle both SMS´s in cleartext (UTF-8/UCS encoded) and in PDU mode.
To view the clear-text contents of a PDU you need to convert it either on your own or, preferably,
using a third-party software such as SMS Server Tools 3
Below is the API commands available related to SMS
SMS:
sms list (returns number of unread/read messages)
sms send [PDU]
sms sendtxt NUMBER [ENCODING]
NUMBER:international format without the leading +. A leading s indicates short SMS (eg s4612)
ENCODING:ISO|UCS (ISO for ascii < 256). Leave blank for autodetection
sms recv [ID] (returns PDU with ID or all PDUs in the inbox if ID is empty [ID:PDU])
sms recvtxt [ID] (returns cleartext SMS with ID or all cleartext SMS in the inbox if ID is empty)
sms del ID
5.7.1
Listing the number of SMS/PDUs
sms list (returns number of unread/read messages)
You can list the number of SMS/PDUs on your router using: sms list
The first digit of the response shows the current number of unread SMS / PDU's and the second
digit the total amount in the inbox.
5.7.2
Sending SMS
The API can handle two ways of send SMS, either by receiving a PDU or via UTF-8/UCS encoded
text messages.
5.7.2.1
Sending an SMS via text
sms sendtxt NUMBER [ENCODING]
NUMBER:international format without the leading +. A leading s indicates short SMS (eg s4612)
ENCODING:ISO|UCS (ISO for ascii < 256). Leave blank for autodetection
To send a SMS via text use the command sms sendtxt
Example:
>>sms sendtxt 46791044794 ISO
This is a text message
.
>>
5.7.2.2
Sending an SMS via PDU
sms send [PDU]
To send a SMS, you first have to make a PDU of it. Once you have the PDU, use the following
syntax: sms send <pdu>
Example:
sms send 07910447946400F011000A9270042079330000AA0CC337392C2F83A6CD292804
5.7.3
Reading an SMS
The API can handle two ways of reading SMS, either by showing a PDU or via UTF-8/UCS
encoded text messages.
T h e M o b il e C h o ic e f o r y o u r B r o a d b a n d I n t e r n e t
© 2015 Dovado FZ-LLC

Advertisement

Table of Contents
loading

Table of Contents