Template:FMM SMS/GPRS Commands

From Teltonika Telematics Wiki

Commands apply for these devices:

All commands are case sensitive. When user tries to send SMS/GPRS message to device that operates in Deep Sleep mode, it cannot arrive to it because the GSM/GPRS module is disabled most of the time. Device will receive the SMS message when it exits Deep Sleep mode, but GPRS commands will not be received after exiting Deep Sleep Mode.
If the device is in GPS Sleep or Online Deep Sleep mode, sent SMS/GPRS message will arrive to the device.

SMS command structure:

<SMS login><space><SMS password><space><command><space><value>

SMS command getinfo example:

  • If you have set SMS login and password: login pass getinfo
  • If SMS login and password are not set leave two spaces before command:   getinfo


GPRS commands require Codec 12 protocol.

To search for compatible products, Expand all content

Common commands


Command Description Response HW Support Parameter Group
getinfo Device runtime system information. Yes

TMT250

Common commands
getver Returns code version, device IMEI, modem app version, RTC time, Init time, Uptime and BT MAC address. Yes

TMT250

Common commands
getstatus Modem Status information. Yes

TMT250

Common commands
getgps Current GPS data, date and time. Yes

TMT250

Common commands
getio Readout analog input,digital input and output. Yes

TMT250

Common commands
ggps Returns location information with Google maps link. Yes

TMT250

Common commands
readio # Returns IO status, # AVL ID. Yes

TMT250

Common commands
cpureset resets device No

TMT250

Common commands
fwstats Get data about FW and restarts Yes

TMT250

Common commands
getrecord SMS command initiates saving and sending of high priority record No

TMT250

Common commands
getimeiccid # Response is sent to SMS/GPRS command sender and also to GSM number provided.

1.# GSM number using international format e.g. 37069012345

Yes

TMT250

Common commands
getimsi Sends the IMSI number of the SIM card inserted as a response to the sender.


If two SIM cards are inserted in the device, the response will be the IMSI number of the currently active SIM card.

Note: This command is supported from 03.10.02 firmware version.

Yes

TMT250

Common commands
allver Responds with information about hardware and firmware versions and storage space Yes

TMT250

Common commands
getparam # Returns selected parameter value.

1.# - first ID value.
2.# - second ID value.
3.# - third ID value.
SMS command is limited to 160 characters.

Yes

TMT250

Common commands
getparam #;#;…
setparam #:# Sets selected parameter value

[Parameter ID] : [New Parameter Value] ; [Parameter ID] : [New Parameter Value]...

SMS command is limited to 160 characters.

Yes

TMT250

Common commands
setparam #:#;#:#;…
flush #,#,#,#,#,#,# Redirects device to other server.

1.# - IMEI.
2.# - APN.
3.# - LOGIN.
4.# - PASS.
5.# - IP.
6.# - PORT.
7.# - MODE (0-TCP/1-UDP).

Yes

TMT250

Common commands
countrecs Returns records number. Yes

TMT250

Common commands
web_connect Connect to Fota WEB immediately. Yes

TMT250

Common commands
deleterecords Delete all records from SD card. Yes

TMT250

Common commands
setdigout ## Y1 Y2 Z1 Z2 Set digital output.
1.# – 0; 1 or ? (0 - OFF, 1 – ON, ? - Ignore) for DOUT1.
2.# – 0; 1 or ? (0 - OFF, 1 – ON, ? - Ignore) for DOUT2.
Y1 – timeout value for DOUT1 if needed (in seconds).
Y2 – timeout value for DOUT2 if needed (in seconds).
Z1 – maximum speed value for DOUT1 if needed.
Z2 – maximum speed value for DOUT2 if needed.
Yes Common commands
battery Returns battery state info. Yes

TMT250

Common commands
wdlog Returns all information about 'watch dogs' Yes

TMT250

Common commands
defaultcfg Load default configuration. Yes

TMT250

Common commands
setkey # # Add new or change current configuration keyword. If device is locked, keyword cannot be changed.

1.# - old keyword (if adding new keyword space).
2.# - new keyword.

Yes

TMT250

Common commands
delkey # Remove existing keyword (If device is locked, keyword cannot be changed).

1.# - old keyword.

Yes

TMT250

Common commands
bbread # Return black box information (HEX value of event ID and HEX value of custom data field (optional)).

1.# - returns entered number of latest events. When # is omitted the latest events are packed to single SMS.

Yes

TMT250

Common commands
bbinfo # Return same information as bbread command but additional all events timestamp is written in HEX.

1.# - returns entered number of latest events. When # is omitted the latest events are packed to single SMS.

Yes

TMT250

Common commands
sdformat Format SD card. Yes

TMT250

Common commands

Bluetooth Commands


Command Description Response HW Support Parameter Group
btgetlist # Returns requested Bluetooth list.
# - 0,1 or 2 (0 – Discovered, 1 – Paired, 2 – Connected).
Yes

TMT250

Bluetooth commands
btscan Starts Bluetooth scan. Yes

TMT250

Bluetooth commands
btvisible # Sets Bluetooth to visible with TMO.
# - visibility TMO (from 1 to 255 seconds).
Yes

TMT250

Bluetooth commands
btrelease # Disconnects from current device and pauses auto connect functionality for TMO.
# - none or TMO (from 1 to 255 seconds).
Yes

TMT250

Bluetooth commands
btunpair # Unpair Bluetooth device.
# - all, BT address (all – unpair all devices, BT address – unpair only specified MAC address).
Yes

TMT250

Bluetooth commands

Commands Related to Features


Command Description Response HW Support Parameter Group
fc_reset Resets fuel consumption parameters. Yes Commands related to features
towingreact Towing reactivation. Yes Commands related to features
auto_calibrate:set Returns the state of calibration. Yes Commands related to features
odoset:# Set total odometer value.
# - new odometer value in km.
Yes Commands related to features
odoget Display current odometer value. Yes Commands related to features
on_demand_trackingX

X=0 – Stops Tracking on Demand functionality.
X=1 – Starts Tracking on Demand functionality.
X=2 – Generates one high priority record and inititates data sending to server.

Note: This command is supported from 03.25.06 firmware version.

Yes

TMT250

Commands related to features

OBD Commands


Command Description Response HW Support Parameter Group
obdinfo If connected with Bluetooth OBD dongle displays all available information from OBD. Yes OBD Commands
faultcodes If connected with Bluetooth OBD dongle display all visible fault codes. Yes OBD Commands
cleardtc Clears all vehicle stored fault codes. Yes OBD Commands
getvin Get vehicle VIN code, if OBD dongle is connected. Yes OBD Commands

CAN Adapter Commands


Command Description Response HW Support Parameter Group
lvcansetprog # Set program number to CAN Adapter
# three to five digit vehicle specific number
Yes CAN Adapter Commands
lvcangetprog Get program number from CAN Adapter Yes CAN Adapter Commands
lvcangetinfo Get information about connected CAN adapter Yes CAN Adapter Commands
lvcansimpletacho # Add or remove simpletacho start byte.
# - 0 or 1 (0 – don’t add start byte, 1 – add start byte).
Yes CAN Adapter Commands
lvcanclear # Clear Total Mileage (counted), Engine Work Time (counted), Fuel Consumed (counted) parameters values.
# - parameter (0 – Engine work time (counted), 1 – Fuel Consumed (counted), 2 – Vehicle Mileage (counted))..
Yes CAN Adapter Commands
allcanmode Turn on ALL-CAN300 mode. Yes CAN Adapter Commands
lvcanmode Turn on LV-CAN200 mode. Yes CAN Adapter Commands
lvcanfaultcodes Read DTC fault codes. Yes CAN Adapter Commands
lvcanopenalldoors Toggle CAN-CONTROL to open [unlock] all doors Yes CAN Adapter Commands
lvcanclosealldoors Toggle CAN-CONTROL to close [lock] all doors Yes CAN Adapter Commands
lvcanopentrunk Toggle CAN-CONTROL to open [unlock] trunk Yes CAN Adapter Commands
lvcanturninglights Toggle CAN-CONTROL to flash lights

One flash of all turn lights ordered trough accidental / blinking turn light switch

Yes CAN Adapter Commands