Jump to content

TEST-DM: Difference between revisions

From Teltonika Telematics Wiki
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
Returns information about device firmware and hardware.
[[Category:{{{model}}}]]
==Request==
 
allver
This page lists SMS/GPRS commands for the {{{model}}} device.
==Arguments==
 
No arguments.
General information:
==Response==
* A single SMS/GPRS command is limited to 160 characters.
===Success===
* All commands are case-sensitive.
FTC881,1,43,0.26.0-rc.1,866344054201822,2023.06.14,
* GPRS commands require the [[Codec#Codec_12|Codec 12 protocol]].
11:37,1.0.0,W25Q32DW/EF6016,W25Q128JV/EF4018,
* 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).
293kB/367kB,122MB/122MB,EG915UEUABR02A05M08,N/A,
==Command Syntax==
N/A,AG3335A_V3.0.0.AG3335_20230614,S,N-TDF,N/A,N/A,N/A,N/A
[[File:smsgprscommand_EXAMPLE.png|300px|right|alt=SMS/GPRS command example]]
===Failure===
'''Before all SMS/GPRS commands, enter the password OR a whitespace (when password is not set).'''
N/A.
 
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": <code>1234 getinfo</code>
* ''getinfo'' command, password not set: <code>&nbsp;getinfo</code> (note the whitespace before command)
* ''readavl'' command, password "1234", single argument: <code>1234 readavl 69</code>
* ''getparam'' command, password not set, multiple arguments: <code>&nbsp;getparam 2001;2002</code> (note the whitespace before command)
* ''setparam'' command, password "1234", multiple arguments with values: <code>1234 setparam 2001:wap;2002:user;2003:pass</code>
'''''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;">Deletes current recovery key.</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>

Latest revision as of 08:40, 20 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 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).

Command Syntax

SMS/GPRS command example

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

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

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 Deletes current recovery key. 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