Jump to content

TEST-DM: Difference between revisions

From Teltonika Telematics Wiki
No edit summary
No edit summary
Line 3: Line 3:
This page lists SMS/GPRS commands for the {{{model}}} device.
This page lists SMS/GPRS commands for the {{{model}}} device.


==General Information==
General information:
* A single SMS/GPRS command is limited to 160 characters.
* A single SMS/GPRS command is limited to 160 characters.
* All commands are case-sensitive.
* All commands are case-sensitive.
Line 12: Line 12:
==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]]
Before all SMS/GPRS commands, enter either the password, or a whitespace (when password is not set).
'''Before all SMS/GPRS commands, enter the password OR a whitespace (when password is not set).'''


'''''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.''
General command structure:
 
General SMS/GPRS command structure:
  <password><space><command><space><argument1><space><argument2>...
  <password><space><command><space><argument1><space><argument2>...
Examples:
Examples:
Line 23: Line 21:
* ''readavl'' command, password "1234", single argument: <code>1234 readavl 69</code>
* ''readavl'' command, password "1234", single argument: <code>1234 readavl 69</code>
* ''setdigout'' command, password not set, multiple arguments: <code>&nbsp;setdigout 01 30 ? ? 20</code> (note the whitespace before command)
* ''setdigout'' command, password not set, multiple arguments: <code>&nbsp;setdigout 01 30 ? ? 20</code> (note the whitespace before command)
'''''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==
===Default Commands===
These are the default SMS/GPRS commands, applicable for most Teltonika devices.
<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>
<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>
<td style="vertical-align: middle; text-align: left;"><code>allver</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - battery|battery]]</td>
<td style="vertical-align: middle; text-align: left;">Returns information about battery status. If battery is not present voltage and current will return zero value.</td>
<td style="vertical-align: middle; text-align: left;"><code>battery</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - cpureset|cpureset]]</td>
<td style="vertical-align: middle; text-align: left;">Restarts device.</td>
<td style="vertical-align: middle; text-align: left;"><code>cpureset</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - deleterecords|deleterecords]]</td>
<td style="vertical-align: middle; text-align: left;">Deletes all records inside device.</td>
<td style="vertical-align: middle; text-align: left;"><code>deleterecords</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - delkey|delkey]]</td>
<td style="vertical-align: middle; text-align: left;">Deletes current primary key.</td>
<td style="vertical-align: middle; text-align: left;"><code>syntax</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - delsecondkey|delsecondkey]]</td>
<td style="vertical-align: middle; text-align: left;">description</td>
<td style="vertical-align: middle; text-align: left;"><code>delkey <old_keyword></code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - fwstats|fwstats]]</td>
<td style="vertical-align: middle; text-align: left;">Information regarding firmware update statistics.</td>
<td style="vertical-align: middle; text-align: left;"><code>fwstats</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - getgps|getgps]]</td>
<td style="vertical-align: middle; text-align: left;">Returns information string regarding GNSS.</td>
<td style="vertical-align: middle; text-align: left;"><code>getgps</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - getimeiccid|getimeiccid]]</td>
<td style="vertical-align: middle; text-align: left;">Returns information about modem IMEI and SIM CCID.</td>
<td style="vertical-align: middle; text-align: left;"><code>getimeiccid</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - getimsi|getimsi]]</td>
<td style="vertical-align: middle; text-align: left;">Returns IMSI code of currently used SIM card.</td>
<td style="vertical-align: middle; text-align: left;"><code>getimsi</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - getinfo|getinfo]]</td>
<td style="vertical-align: middle; text-align: left;">Returns information string.</td>
<td style="vertical-align: middle; text-align: left;"><code>getinfo</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - getops|getops]]</td>
<td style="vertical-align: middle; text-align: left;">Returns list of currently visible operators.</td>
<td style="vertical-align: middle; text-align: left;"><code>getops</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - getparam|getparam]]</td>
<td style="vertical-align: middle; text-align: left;">Get configured parameter value.</td>
<td style="vertical-align: middle; text-align: left;"><code>getparam <param_id1>;<param_id2>;...</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - getrecord|getrecord]]</td>
<td style="vertical-align: middle; text-align: left;">Generates a high priority record so force device to send all records to the server.</td>
<td style="vertical-align: middle; text-align: left;"><code>getrecord</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - getstatus|getstatus]]</td>
<td style="vertical-align: middle; text-align: left;">Get status about device.</td>
<td style="vertical-align: middle; text-align: left;"><code>getstatus</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - getver|getver]]</td>
<td style="vertical-align: middle; text-align: left;">Returns code version, device IMEI, modem app version, RTC time, Init time, etc.</td>
<td style="vertical-align: middle; text-align: left;"><code>getver</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - ggps|ggps]]</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>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - readavl|readavl]]</td>
<td style="vertical-align: middle; text-align: left;">Returns information string regarding AVL ID value.</td>
<td style="vertical-align: middle; text-align: left;"><code>readavl <AVL_ID></code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - setkey|setkey]]</td>
<td style="vertical-align: middle; text-align: left;">Set new or change current primary key.</td>
<td style="vertical-align: middle; text-align: left;"><code>setkey <old_keyword> <new_keyword></code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - setparam|setparam]]</td>
<td style="vertical-align: middle; text-align: left;">Change configurable parameter value.</td>
<td style="vertical-align: middle; text-align: left;"><code>setparam <param_id1>:<value>;<param_id2>:<value>;...</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - setsecondkey|setsecondkey]]</td>
<td style="vertical-align: middle; text-align: left;">Set new or change current recovery key.</td>
<td style="vertical-align: middle; text-align: left;"><code>setsecondkey <old_keyword> <new_keyword></code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - towingreact|towingreact]]</td>
<td style="vertical-align: middle; text-align: left;">Reactivates towing Detection scenario. Intended for use in case of a fake towing detection event.</td>
<td style="vertical-align: middle; text-align: left;"><code>towingreact</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - wdlog|wdlog]]</td>
<td style="vertical-align: middle; text-align: left;">Returns information about the recent watchdog events.</td>
<td style="vertical-align: middle; text-align: left;"><code>wdlog</code></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">[[SMS/GPRS command - web_connect|web_connect]]</td>
<td style="vertical-align: middle; text-align: left;">Triggers FOTA service/connection.</td>
<td style="vertical-align: middle; text-align: left;"><code>web_connect</code></td>
</tr>
</table>

Revision as of 15:59, 19 January 2026

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

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

General information:

  • A single SMS/GPRS command is limited to 160 characters.
  • All commands are case-sensitive.
  • GPRS commands require the Codec 12 protocol.
  • SMS/GPRS command functioning in different sleep modes:
    • text
    • text

Command Syntax

SMS/GPRS command example

Before all SMS/GPRS commands, enter the password OR a whitespace (when password is not set).

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
  • setdigout command, password not set, multiple arguments:  setdigout 01 30 ? ? 20 (note the whitespace before command)

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

Default Commands

These are the default 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. syntax
delsecondkey description delkey <old_keyword>
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
ggps Returns information about current date, time, speed, device coordinates and a link to Google Maps with current position. ggps
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