1 reading an sms via text, 2 reading an sms via pdu, 4 removing an sms/pdu – Dovado PRO User Manual

Page 27

Advertising
background image

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

27

© 2014 Dovado FZ-LLC

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

>>

4.7.3.2

Reading an SMS via PDU

sms recv [ID] (returns PDU with ID or all PDUs in the inbox if ID is empty [ID:PDU])

You can list all the current PDUs in your in the inbox using: sms recv
This will list all PDUs using in the format ID:PDU where ID is a unique internal descriptor of that
PDU (used for removing PDUs).
Conversion is needed to see the actual contents of the PDU.

Example:
>> sms list
new/total
1/1
Stored IDs: 1

>> sms recv 1
1:07916407970900F1040B91640XXXXXXXF40000217032117263800A

>>

4.7.4

Removing an SMS/PDU

sms del ID

First you need the ID of the PDU you want to remove. It can be obtained using the sms recv
command. Then to remove a SMS/PDU, type: sms del ID

Example:
>> sms list
new/total
0/1
Stored IDs: 1

>> sms del 1

Advertising