5 router info, 6 upgrade via api, 7 sms – Dovado DOMA User Manual

Page 22: 1 listing the number of sms/pdus, Router info, Upgrade via api

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

Reference Manual 7.1.5

22

© 2014 Dovado FZ-LLC

if ID is empty)

sms del ID

4.5

Router info

To display information about the router, execute the command:
info

It will respond with a list of parameters, for example:

Firmware_Revision:7.0.0
New firmware available:yes
API_version:1.4
PRODUCT_NAME=Dovado Tiny
SIGNAL_STRENGTH=-
TRAFFIC_MODEM_TX=0
TRAFFIC_MODEM_RX=0
TRAFFIC_WAN_TX=0
TRAFFIC_WAN_RX=0
CONNECTION=modem
MODEM_STATUS=DISCONNECTED
EXTERNAL_IP=-
DATE=2010-04-10
TIME=08:11
SMS_UNREAD=0
SMS_TOTAL=0
CONNECTED_DEVICES=

4.6

Upgrade via API

The command info will show if there is a new firmware available

Firmware_Revision:7.0.0
New firmware available:yes
API_version:1.4

To start a firmware upgrade of the router, execute the command:
upgrade

4.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

4.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.

Advertising