SMS commands

SMS commands

Every SMS command sent to device must have a generated signature at the end of the message. Signature depends on entire SMS text, IMEI, key and encryption algorithms. Therefore, SMS must be sent from Wialon or other system which has programed signature generation. Signature is designed  to prevent device control by third parties. SMS could be sent from any number.

For the list of SMS commands for SDK devices, check here.



These are the commands that can be sent with via SMS text that will allow to get the wanted information or changes.
Every SMS command should start with the bestpassword as it allows to skip the process of generating a signature.

SMS commands

Properties

SMS commands

Properties

bestpassword

The start of every SMS text to send a command. This allows to skip the signature generation step. This command works from the FM500Q hardware version and the latest firmware.

R

Reboots the MCU and Modem.

P

P Locks the devices settings for a half an hour. Internal settings are locked and changed to default it also forces the unit to connect to the server.

Z

Forces the device to send its status via SMS to the telephone number that is defined in „Service2“ at https://xdm.xgfleet.eu.

G

Formats flash memory.

S1=X
or
S2=X

X here is 0 or 1. Example: S1=0 or S2=1. Sets or clears the internal S1 and S2 signals. Status is written in a non-volatile memory. Number stands: 0 – disable, 1 – enable.

L2

Reboots GPS modem.

x1

Sends back position and main information to the sender’s number.
Note. This command should be send without “bestpassword”.

D tacho#

# - number 1 or 2. Sends the data packet of the tacho to the installed Tacho program*.

D card#

# - number 1 or 2. Sends the information of the drivers card to the installed Tacho program.

D vin

Sends message with vehicle identification number. Used for checking Status of the tachograph.

D dump

Forces device to repeat CAN scanning.

Wapn,apnuser,apnpsw,0.0.0.0,fmsetdomain,fmsetport,

Defines the connection settings.
apn, apnuser and apnpsw are actual APN settings of SIM card.
[preferred ip 0.0.0.0 auto dhcp] - is preferred IP 0.0.0.0. auto dhcp, normally remains 0.0.0.0.
fmsetdomain and fmsetport - are address and port of FMSet configurator.
Using this command also can set monitoring server, check in examples below.

H

Replies with IMEI number to Service1 number of device settings.

Examples of commands:

bestpassword R

bestpassword S1=1

x1

bestpassword D tacho1

bestpassword Worangecidata,data,data,0.0.0.0,dt.xdm.xgfleet.eu,8412,193.193.165.165,20482,T,

bestpassword Winternet,,,0.0.0.0,dt.xdm.xgfleet.eu,8412,

* In the devices panel on the Tachograph tab the settings should be filled for this command to fully operate. Same goes with the D card# command.