1 listing the number of sms/pdus, 2 sending sms, 1 sending an sms via text – Dovado 4GR User Manual
Page 22: 2 sending an sms via pdu, 3 reading an sms, 1 reading an sms via text

T h e M o b i le 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
Reference Manual 6.2.6
22
© 2013 Dovado FZ-LLC
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
4.6.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.
4.6.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.
4.6.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
.
>>
4.6.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
Example:
sms send 07910447946400F011000A9270042079330000AA0CC337392C2F83A6CD292804
4.6.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.
4.6.3.1
Reading an SMS via text
sms recvtxt [ID] (returns cleartext SMS with ID or all cleartext SMS in the inbox if ID is empty)
To read a SMS via text use the command sms recvtxt
Example:
>> sms list
new/total
1/1