2 sending sms, 1 sending an sms via text, 2 sending an sms via pdu – Dovado TINY User Manual
Page 23: 3 reading an sms, 1 reading an sms via text

T h e M o b i l e C h o i c 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
API
23
© 2014 Dovado FZ-LLC
4.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.
4.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
.
>>
4.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
4.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.
4.7.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
Stored IDs: 1
>> sms recvtxt 1
From: 46XXXXXXXXX
Sent: 12-07-23 11:27:36
Alphabet: UTF-8
ID: 1
Räksmörgås
End of SMS