Table of Contents

SMS

Use of integrated SMS commands

Wirnet™ i-series gateways can be configured using SMS commands. Most features available from the web interface and the REST API can be activated/configured over SMS.

SMS syntax and list of available SMS are described in Keros SMS commands specification. Specification aligned with your firmware can be found in the resources page.

Use of customs SMS

Wirnet™ i-series gateways are able to send and receive SMS if the mobile network is properly configured. Modems are identified by manufacturer_X where:

To retrieve the identifier, use the gsmdiag.py command.

Here is an output of /tmp/gsmdiag.txt. Two modems are displayed, and only one has a SIM card present. Its identifier is /sierra_0.

Content - gsmdiag.py output

Send

It is possible to send an SMS using a DBUS command. Examples:

dbus-send --system --print-reply --dest=org.ofono /sierra_0 org.ofono.MessageManager.SendMessage string:"+33XXXXXXXXXX" string:"test sms"
dbus-send --system --print-reply --dest=org.ofono /huawei_0 org.ofono.MessageManager.SendMessage string:"+33XXXXXXXXXX" string:"test sms"

Receive

Receive an SMS using a python test script :

File - receive SMS python script