Jump to content

Template:FTX SMS/GPRS Commands: Difference between revisions

From Teltonika Telematics Wiki
mNo edit summary
mNo edit summary
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
* A single SMS/GPRS command is limited to 160 characters.
* A single SMS/GPRS command is limited to 160 characters.
* GPRS commands require the [[Codec#Codec_12|Codec 12 protocol]].
* GPRS commands require the [[Codec#Codec_12|Codec 12 protocol]].
* SMS/GPRS command functioning in Deep Sleep - because the GSM/GPRS module is disabled in Deep Sleep, the device will receive your SMS message only when it exists Deep Sleep (and GPRS commands will not be received at all).
* SMS and GPRS commands are ''not'' received while the device is in '''Deep Sleep''' or '''Power Off Sleep''' modes. In these modes, the GSM/GPRS module is powered down, meaning the device is not registered on the mobile network and cannot accept incoming commands. For more information on sleep modes, see [[{{{model}}}_System#Power_Saving_settings|Power saving settings]].
==Command Syntax==
==Command Syntax==
[[File:smsgprscommand_EXAMPLE.png|300px|right|alt=SMS/GPRS command example]]
[[File:smsgprscommand_EXAMPLE.png|300px|right|alt=SMS/GPRS command example]]
Line 22: Line 22:
==Command List==
==Command List==
The following commands apply to '''FT platform devices with firmware version 3.7.0.rc.22''' or newer.
The following commands apply to '''FT platform devices with firmware version 3.7.0.rc.22''' or newer.
===Default Commands===
===Basic Commands===
These are the default SMS/GPRS commands, applicable for most Teltonika devices.
These are the basic SMS/GPRS commands, applicable for most Teltonika devices.
<table class="nd-othertables_2" style="width:100%; border-collapse: collapse;">
<table class="nd-othertables_2" style="width:100%; border-collapse: collapse;">
<tr>
<tr>
Line 32: Line 32:
<tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - allver|allver]]</td>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - allver|allver]]</td>
<td style="vertical-align: middle; text-align: left;">Returns information about device firmware and hardware.
<td style="vertical-align: middle; text-align: left;">Returns information about device firmware and hardware.</td>
</td>
<td style="vertical-align: middle; text-align: left;"><code>allver</code></td>
<td style="vertical-align: middle; text-align: left;"><code>allver</code></td>
</tr>
</tr>
Line 60: Line 59:
<td style="vertical-align: middle; text-align: left;">Deletes current recovery key.</td>
<td style="vertical-align: middle; text-align: left;">Deletes current recovery key.</td>
<td style="vertical-align: middle; text-align: left;"><code>delsecondkey <old_keyword></code></td>
<td style="vertical-align: middle; text-align: left;"><code>delsecondkey <old_keyword></code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - extformat|extformat]]</td>
<td style="vertical-align: middle; text-align: left;">Quick formats external storage.</td>
<td style="vertical-align: middle; text-align: left;"><code>extformat</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - fall_down_reset|fall_down_reset]]</td>
<td style="vertical-align: middle; text-align: left;">Triggers fall down reset.</td>
<td style="vertical-align: middle; text-align: left;"><code>fall_down_reset</code></td>
</tr>
</tr>
<tr>
<tr>
Line 120: Line 129:
<td style="vertical-align: middle; text-align: left;">Returns information about current date, time, speed, device coordinates and a link to Google Maps with current position.</td>
<td style="vertical-align: middle; text-align: left;">Returns information about current date, time, speed, device coordinates and a link to Google Maps with current position.</td>
<td style="vertical-align: middle; text-align: left;"><code>ggps</code></td>
<td style="vertical-align: middle; text-align: left;"><code>ggps</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - on_demand_tracking|on_demand_tracking]]</td>
<td style="vertical-align: middle; text-align: left;">Toggles on-demand tracking.</td>
<td style="vertical-align: middle; text-align: left;"><code>on_demand_tracking <arg></code></td>
</tr>
</tr>
<tr>
<tr>
Line 157: Line 171:
</tr>
</tr>
</table>
</table>
 
===I/O Commands===
===Other Commands===
These SMS/GPRS commands depend on device hardware or firmware.
<table class="nd-othertables_2" style="width:100%; border-collapse: collapse;">
<table class="nd-othertables_2" style="width:100%; border-collapse: collapse;">
<tr>
<tr>
Line 165: Line 177:
<th style="width:45%; vertical-align: middle; text-align: left;">DESCRIPTION</th>
<th style="width:45%; vertical-align: middle; text-align: left;">DESCRIPTION</th>
<th style="width:35%; vertical-align: middle; text-align: left;">SYNTAX EXAMPLE</th>
<th style="width:35%; vertical-align: middle; text-align: left;">SYNTAX EXAMPLE</th>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - dr_reset|dr_reset]]</td>
<td style="vertical-align: middle; text-align: left;">Erase all Dead Reckoning calibration parameters. After executing the command, the device requires full calibration again.</td>
<td style="vertical-align: middle; text-align: left;"><code>dr_reset</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - extformat|extformat]]</td>
<td style="vertical-align: middle; text-align: left;">Quick formats external storage.</td>
<td style="vertical-align: middle; text-align: left;"><code>extformat</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - fall_down_reset|fall_down_reset]]</td>
<td style="vertical-align: middle; text-align: left;">Triggers fall down reset.</td>
<td style="vertical-align: middle; text-align: left;"><code>fall_down_reset</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - getcontsens|getcontsens]]</td>
<td style="vertical-align: middle; text-align: left;">Returns IDs of active and saved temperature sensors.</td>
<td style="vertical-align: middle; text-align: left;"><code>getcontsens</code></td>
</tr>
</tr>
<tr>
<tr>
Line 192: Line 184:
</tr>
</tr>
<tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - oemreset|oemreset]]</td>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - setdigout|setdigout]]</td>
<td style="vertical-align: middle; text-align: left;">Clears OEM file from device memory and resets OEM logic. Immediately requests a new OEM file if all conditions are met - VIN is available.</td>
<td style="vertical-align: middle; text-align: left;">Controls specified digital output. Sets/clears DOUTs with optional timeouts and speed thresholds. Accepts as many parameter sets, as your device has DOUTs.</td>
<td style="vertical-align: middle; text-align: left;"><code>oemreset</code></td>
<td style="vertical-align: middle; text-align: left;"><code>setdigout ### <Y1> <Y2> <Y3> <Z1> <Z2> <Z3></code></td>
</tr>
</tr>
<tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - on_demand_tracking|on_demand_tracking]]</td>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - setigndigout|setigndigout]]</td>
<td style="vertical-align: middle; text-align: left;">Toggles on-demand tracking.</td>
<td style="vertical-align: middle; text-align: left;">Controls the specified digital output when the ignition is off. DOUTs are controlled dynamically.</td>
<td style="vertical-align: middle; text-align: left;"><code>on_demand_tracking <arg></code></td>
<td style="vertical-align: middle; text-align: left;"><code>setigndigout ### <Y1> <Y2> <Y3></code></td>
</tr>
</tr>
<tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - savecontsens|savecontsens]]</td>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - secoon|secoon]]</td>
<td style="vertical-align: middle; text-align: left;">Save active sensors IDs or IDs passed as argument.</td>
<td style="vertical-align: middle; text-align: left;">Starts Seco scenario.</td>
<td style="vertical-align: middle; text-align: left;"><code>savecontsens <id1>,<id2>,<id4>,<id4>,<id5></code></td>
<td style="vertical-align: middle; text-align: left;"><code>secoon</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"></td>
<td style="vertical-align: middle; text-align: left;"></td>
<td style="vertical-align: middle; text-align: left;"></td>
</tr>
</tr>
<tr>
<tr>
Line 215: Line 202:
<td style="vertical-align: middle; text-align: left;">Stops Seco scenario.</td>
<td style="vertical-align: middle; text-align: left;">Stops Seco scenario.</td>
<td style="vertical-align: middle; text-align: left;"><code>secooff</code></td>
<td style="vertical-align: middle; text-align: left;"><code>secooff</code></td>
</tr>
</table>
===OBD Commands===
<table class="nd-othertables_2" style="width:100%; border-collapse: collapse;">
<tr>
<th style="width:20%; vertical-align: middle; text-align: left;">COMMAND</th>
<th style="width:45%; vertical-align: middle; text-align: left;">DESCRIPTION</th>
<th style="width:35%; vertical-align: middle; text-align: left;">SYNTAX EXAMPLE</th>
</tr>
</tr>
<tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - secoon|secoon]]</td>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - cleardtc|cleardtc]]</td>
<td style="vertical-align: middle; text-align: left;">Starts Seco scenario.</td>
<td style="vertical-align: middle; text-align: left;">Clears OBD DTCs.</td>
<td style="vertical-align: middle; text-align: left;"><code>secoon</code></td>
<td style="vertical-align: middle; text-align: left;"><code>cleardtc <module_id></code></td>
</tr>
</tr>
<tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - setdigout|setdigout]]</td>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - scandtc|scandtc]]</td>
<td style="vertical-align: middle; text-align: left;">Controls specified digital output. Sets/clears DOUTs with optional timeouts and speed thresholds. Accepts as many parameter sets, as your device has DOUTs.</td>
<td style="vertical-align: middle; text-align: left;">Sends selected module fault codes back to user.</td>
<td style="vertical-align: middle; text-align: left;"><code>setdigout ### <Y1> <Y2> <Y3> <Z1> <Z2> <Z3></code></td>
<td style="vertical-align: middle; text-align: left;"><code>scandtc <module_id></code></td>
</tr>
</tr>
<tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - setigndigout|setigndigout]]</td>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - oemreset|oemreset]]</td>
<td style="vertical-align: middle; text-align: left;">Controls the specified digital output when the ignition is off. DOUTs are controlled dynamically.</td>
<td style="vertical-align: middle; text-align: left;">Clears OEM file from device memory and resets OEM logic. Immediately requests a new OEM file if all conditions are met - VIN is available.</td>
<td style="vertical-align: middle; text-align: left;"><code>setigndigout ### <Y1> <Y2> <Y3></code></td>
<td style="vertical-align: middle; text-align: left;"><code>oemreset</code></td>
</tr>
</tr>
</table>
===Manual CAN Commands===
<table class="nd-othertables_2" style="width:100%; border-collapse: collapse;">
<tr>
<tr>
<td style="vertical-align: middle; text-align: left;"></td>
<th style="width:20%; vertical-align: middle; text-align: left;">COMMAND</th>
<td style="vertical-align: middle; text-align: left;"></td>
<th style="width:45%; vertical-align: middle; text-align: left;">DESCRIPTION</th>
<td style="vertical-align: middle; text-align: left;"></td>
<th style="width:35%; vertical-align: middle; text-align: left;">SYNTAX EXAMPLE</th>
</tr>
</tr>
<tr>
<tr>
Line 245: Line 243:
<td style="vertical-align: middle; text-align: left;">Stops sending specified Manual CAN command.</td>
<td style="vertical-align: middle; text-align: left;">Stops sending specified Manual CAN command.</td>
<td style="vertical-align: middle; text-align: left;"><code>mcan_stop: <command_ID></code></td>
<td style="vertical-align: middle; text-align: left;"><code>mcan_stop: <command_ID></code></td>
</tr>
</table>
===1-Wire Commands===
<table class="nd-othertables_2" style="width:100%; border-collapse: collapse;">
<tr>
<th style="width:20%; vertical-align: middle; text-align: left;">COMMAND</th>
<th style="width:45%; vertical-align: middle; text-align: left;">DESCRIPTION</th>
<th style="width:35%; vertical-align: middle; text-align: left;">SYNTAX EXAMPLE</th>
</tr>
</tr>
<tr>
<tr>
<td style="vertical-align: middle; text-align: left;"></td>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - getcontsens|getcontsens]]</td>
<td style="vertical-align: middle; text-align: left;"></td>
<td style="vertical-align: middle; text-align: left;">Returns IDs of active and saved temperature sensors.</td>
<td style="vertical-align: middle; text-align: left;"></td>
<td style="vertical-align: middle; text-align: left;"><code>getcontsens</code></td>
</tr>
</tr>
<tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - cleardtc|cleardtc]]</td>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - savecontsens|savecontsens]]</td>
<td style="vertical-align: middle; text-align: left;">Clears OBD DTCs.</td>
<td style="vertical-align: middle; text-align: left;">Save active sensors IDs or IDs passed as argument.</td>
<td style="vertical-align: middle; text-align: left;"><code>cleardtc <module_id></code></td>
<td style="vertical-align: middle; text-align: left;"><code>savecontsens <id1>,<id2>,<id4>,<id4>,<id5></code></td>
</tr>
</table>
===Dead Reckoning Commands===
<table class="nd-othertables_2" style="width:100%; border-collapse: collapse;">
<tr>
<th style="width:20%; vertical-align: middle; text-align: left;">COMMAND</th>
<th style="width:45%; vertical-align: middle; text-align: left;">DESCRIPTION</th>
<th style="width:35%; vertical-align: middle; text-align: left;">SYNTAX EXAMPLE</th>
</tr>
</tr>
<tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - scandtc|scandtc]]</td>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - dr_reset|dr_reset]]</td>
<td style="vertical-align: middle; text-align: left;">Sends selected module fault codes back to user.</td>
<td style="vertical-align: middle; text-align: left;">Erase all Dead Reckoning calibration parameters. After executing the command, the device requires full calibration again.</td>
<td style="vertical-align: middle; text-align: left;"><code>scandtc <module_id></code></td>
<td style="vertical-align: middle; text-align: left;"><code>dr_reset</code></td>
</tr>
</tr>
</table>
</table>
[[Category:{{{model}}}]]
[[Category:{{{model}}}]]

Revision as of 08:32, 27 January 2026

This page lists SMS/GPRS commands for the {{{model}}} device.

General information:

  • A single SMS/GPRS command is limited to 160 characters.
  • GPRS commands require the Codec 12 protocol.
  • SMS and GPRS commands are not received while the device is in Deep Sleep or Power Off Sleep modes. In these modes, the GSM/GPRS module is powered down, meaning the device is not registered on the mobile network and cannot accept incoming commands. For more information on sleep modes, see [[{{{model}}}_System#Power_Saving_settings|Power saving settings]].

Command Syntax

SMS/GPRS command example

Before all SMS/GPRS commands, enter the password OR a whitespace (when password is not set).
All commands are case-sensitive.
Always check the syntax of your desired command in its dedicated page.
General command structure:

<password><space><command><space><argument1><space><argument2>...

Examples:

  • getinfo command, password "1234": 1234 getinfo
  • getinfo command, password not set:  getinfo (note the whitespace before command)
  • readavl command, password "1234", single argument: 1234 readavl 69
  • getparam command, password not set, multiple arguments:  getparam 2001;2002 (note the whitespace before command)
  • setparam command, password "1234", multiple arguments with values: 1234 setparam 2001:wap;2002:user;2003:pass

Note! In some Apple iOS devices, any whitespace in the beginning of a message is automatically removed under certain conditions. This may affect SMS parsing in the receiving device.

Command List

The following commands apply to FT platform devices with firmware version 3.7.0.rc.22 or newer.

Basic Commands

These are the basic SMS/GPRS commands, applicable for most Teltonika devices.

COMMAND DESCRIPTION SYNTAX EXAMPLE
allver Returns information about device firmware and hardware. allver
battery Returns information about battery status. If battery is not present voltage and current will return zero value. battery
cpureset Restarts device. cpureset
deleterecords Deletes all records inside device. deleterecords
delkey Deletes current primary key. delkey <old_keyword>
delsecondkey Deletes current recovery key. delsecondkey <old_keyword>
extformat Quick formats external storage. extformat
fall_down_reset Triggers fall down reset. fall_down_reset
fwstats Information regarding firmware update statistics. fwstats
getgps Returns information string regarding GNSS. getgps
getimeiccid Returns information about modem IMEI and SIM CCID. getimeiccid
getimsi Returns IMSI code of currently used SIM card. getimsi
getinfo Returns information string. getinfo
getops Returns list of currently visible operators. getops
getparam Get configured parameter value. getparam <param_id1>;<param_id2>;...
getrecord Generates a high priority record so force device to send all records to the server. getrecord
getstatus Get status about device. getstatus
getver Returns code version, device IMEI, modem app version, RTC time, Init time, etc. getver
getvin Returns VIN code that is currently used. getvin
ggps Returns information about current date, time, speed, device coordinates and a link to Google Maps with current position. ggps
on_demand_tracking Toggles on-demand tracking. on_demand_tracking <arg>
readavl Returns information string regarding AVL ID value. readavl <AVL_ID>
setkey Set new or change current primary key. setkey <old_keyword> <new_keyword>
setparam Change configurable parameter value. setparam <param_id1>:<value>;<param_id2>:<value>;...
setsecondkey Set new or change current recovery key. setsecondkey <old_keyword> <new_keyword>
towingreact Reactivates towing Detection scenario. Intended for use in case of a fake towing detection event. towingreact
wdlog Returns information about the recent watchdog events. wdlog
web_connect Triggers FOTA service/connection. web_connect

I/O Commands

COMMAND DESCRIPTION SYNTAX EXAMPLE
getio Returns information string with values of all available IO pin values. getio
setdigout Controls specified digital output. Sets/clears DOUTs with optional timeouts and speed thresholds. Accepts as many parameter sets, as your device has DOUTs. setdigout ### <Y1> <Y2> <Y3> <Z1> <Z2> <Z3>
setigndigout Controls the specified digital output when the ignition is off. DOUTs are controlled dynamically. setigndigout ### <Y1> <Y2> <Y3>
secoon Starts Seco scenario. secoon
secooff Stops Seco scenario. secooff

OBD Commands

COMMAND DESCRIPTION SYNTAX EXAMPLE
cleardtc Clears OBD DTCs. cleardtc <module_id>
scandtc Sends selected module fault codes back to user. scandtc <module_id>
oemreset Clears OEM file from device memory and resets OEM logic. Immediately requests a new OEM file if all conditions are met - VIN is available. oemreset

Manual CAN Commands

COMMAND DESCRIPTION SYNTAX EXAMPLE
mcan_cmd Activates sending specified Manual CAN command. mcan_cmd: <command_ID>
mcan_stop Stops sending specified Manual CAN command. mcan_stop: <command_ID>

1-Wire Commands

COMMAND DESCRIPTION SYNTAX EXAMPLE
getcontsens Returns IDs of active and saved temperature sensors. getcontsens
savecontsens Save active sensors IDs or IDs passed as argument. savecontsens <id1>,<id2>,<id4>,<id4>,<id5>

Dead Reckoning Commands

COMMAND DESCRIPTION SYNTAX EXAMPLE
dr_reset Erase all Dead Reckoning calibration parameters. After executing the command, the device requires full calibration again. dr_reset

[[Category:{{{model}}}]]