Difference between revisions of "Template:SMS/GPRS Commands"

From Wiki Knowledge Base | Teltonika GPS
Line 331: Line 331:
 
|-
 
|-
 
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |''sdformat''
 
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |''sdformat''
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: left;" |Format SD card.
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: left;" |Format SD card
 
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |Yes
 
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |Yes
 
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |
 
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |
Line 337: Line 337:
 
<span class="mw-collapsible mw-collapsed" id="mw-customcollapsible-28">[[TMT250]] [[GH5200]] [[TST100]] [[TFT100]]</span>
 
<span class="mw-collapsible mw-collapsed" id="mw-customcollapsible-28">[[TMT250]] [[GH5200]] [[TST100]] [[TFT100]]</span>
 
</div>
 
</div>
 +
 +
 +
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |Common commands
 +
|-
 +
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |''shutdown''
 +
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: left;" |SMS/GPRS command, used to shutdown device. Device should respond with “Shutdown has been initiated” an turn off in 15 s after receiving command.
 +
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |Yes
 +
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |
 +
<div class="mw-customtoggle-28" style="margin:0 auto; text-align: center; overflow:auto; color: #0054A6;">[Expand]
 +
<span class="mw-collapsible mw-collapsed" id="mw-customcollapsible-28">[[TMT250]] [[GH5200]]</span>
 +
</div>
 +
  
 
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |Common commands
 
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |Common commands

Revision as of 08:34, 24 August 2023

Commands apply for these devices: | TMT250 | GH5200 | TST100 | TFT100 | TAT100 |

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 Common commands
getver Returns code version, device IMEI, modem app version, RTC time, Init time, Uptime and BT MAC address. Yes Common commands
getstatus Modem Status information. Yes Common commands
getgps Current GPS data, date and time. Yes Common commands
getio Readout analog input,digital input and output. Yes
[Expand]

TST100 TFT100

Common commands
ggps Returns location information with Google maps link. Yes Common commands
readio # Returns IO status, # AVL ID. Yes Common commands
cpureset resets device No Common commands
fwstats Get data about FW and restarts Yes Common commands
getrecord SMS command initiates saving and sending of high priority record No 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 Common commands
getimsi Sends the IMSI number of the SIM card inserted as a response to the sender. Yes Common commands
allver Responds with information about hardware and firmware versions and storage space Yes Common commands
getparam # Returns selected parameter value.

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

Yes 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 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 Common commands
countrecs Returns records number. Yes Common commands
web_connect Connect to Fota WEB immediately. Yes Common commands
deleterecords Delete all records from SD card. Yes Common commands
pulsedigout ## X1 Y1 X2 Y2 X3 Y3 Set digital output.
1.# - 0, 1 or ? (0 - OFF, 1 - ON, ? - Ignore) starting state for DOUT1.
2.# - 0, 1 or ? (0 - OFF, 1 - ON, ? - Ignore) starting state for DOUT2.
X1 - ON timeout for DOUT1 in milliseconds
Y1 - ON timeout for DOUT2 in milliseconds
X2 - OFF timeout for DOUT1 in milliseconds

Y2 - OFF timeout for DOUT2 in milliseconds
X3 - repeats for DOUT1
Y3 - repeats for DOUT2

Yes
[Expand]

TFT100 TST100

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 TFT100 Common commands
battery Returns battery state info. Yes Common commands
wdlog Returns all information about 'watch dogs' Yes Common commands
defaultcfg Load default configuration. Yes 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 Common commands
delkey # Remove existing keyword (If device is locked, keyword cannot be changed).

1.# - old keyword.

Yes 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 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 Common commands
sdformat Format SD card Yes


Common commands
shutdown SMS/GPRS command, used to shutdown device. Device should respond with “Shutdown has been initiated” an turn off in 15 s after receiving command. Yes
[Expand]

TMT250 GH5200


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, 3 – Discovered BT4/BLE devices).
Yes Bluetooth commands
btscan Starts Bluetooth scan. Yes Bluetooth commands
btvisible # Sets Bluetooth to visible with TMO.
# - visibility TMO (from 1 to 255 seconds).
Yes Bluetooth commands
btrelease # Disconnects from current device and pauses auto connect functionality for TMO.
# - none or TMO (from 1 to 255 seconds).
Yes Bluetooth commands
btunpair # Unpair Bluetooth device.
# - all, BT address (all – unpair all devices, BT address – unpair only specified MAC address).
Yes Bluetooth commands
btlock_unlock Unlock Bluetooth lock Yes Bluetooth commands
btlock_changepw: # # Change Bluetooth lock's password:

btlock_changepw:<Current password> <New password>

Yes Bluetooth commands

Commands Related to Features


Command Description Response HW Support Parameter Group
towingreac Towing reactivation. Yes TFT100 Commands related to features
auto_calibrate:set Returns the state of calibration. Yes
[Expand]

TST100 TFT100

Commands related to features
odoset:# Set total odometer value.
# - new odometer value in km.
Yes
[Expand]

TST100 TFT100

Commands related to features
odoget Display current odometer value. Yes
[Expand]

TST100 TFT100

Commands related to features
on_demand_tracking#

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

Note: This command is supported from 55.00.00 firmware version.

Yes Commands related to features

CAN Commands


Command Description Response HW Support Parameter Group
askoll_unlock#

Immobilizer. Used to lock/unlock the vehicle. # = Value ↓
1 - Lock
0 - Unlock

Yes TFT100 Askoll protocol CAN Commands
askoll_horn Sounds the horn of the vehicle. Used to identify the vehicle in the street. Yes TFT100 Askoll protocol CAN Commands
askoll_tc Top case opening. Used to open the vehicle's luggage compartment. Yes TFT100 Askoll protocol CAN Commands
govecs_lock Used to lock Govecs Schwalbe & FLEX e-scooters. Yes TFT100 Bosch/FLEX protocol CAN Commands
!govecs_lock Used to lock Govecs Schwalbe & FLEX e-scooters and send high priority record. Yes TFT100 Bosch/FLEX protocol CAN Commands
govecs_unlock Used to unlock Govecs Schwalbe & FLEX e-scooters Yes TFT100 Bosch/FLEX protocol CAN Commands
!govecs_unlock Used to unlock Govecs Schwalbe & FLEX e-scooters and send high priority record. Yes TFT100 Bosch/FLEX protocol CAN Commands
govecs_openbox:# Used to open/close Govecs Schwalbe & FLEX e-scooters case.
# - 1 - open case; # - 0 - close case.
Yes TFT100 Bosch/FLEX protocol CAN Commands
!setdigout:## Y1 Y2 Z1 Z2 Used to set digital output and send high priority record.
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 TFT100 Bosch/FLEX protocol CAN Commands
govecs_open Used to unlock the seat lock. Yes TFT100 FLEX protocol CAN Commands
!govecs_open Used to unlock the seat lock and send high priority record. Yes TFT100 FLEX protocol CAN Commands
govecs_close Used to lock the seat lock. Yes TFT100 FLEX protocol CAN Commands
!govecs_close Used to lock the seat lock and send high priority record. Yes TFT100 FLEX protocol CAN Commands
govecs_horn Used to activate scooter’s horn for X seconds. Yes TFT100 FLEX protocol CAN Commands
!govecs_horn Used to activate scooter’s horn for X seconds and send high priority record. Yes TFT100 FLEX protocol CAN Commands
govecs_hazard Used to activate scooter’s hazard lights for X seconds. Yes TFT100 FLEX protocol CAN Commands
!govecs_hazard Used to activate scooter’s hazard lights for X seconds and send high priority record. Yes TFT100 FLEX protocol CAN Commands
govecs_hazardon Used to activate scooter’s hazard lights. Yes TFT100 FLEX protocol CAN Commands
!govecs_hazardon Used to activate scooter’s hazard lights and send high priority record. Yes TFT100 FLEX protocol CAN Commands
govecs_hazardoff Used to deactivate scooter’s hazard lights. Yes TFT100 FLEX protocol CAN Commands
!govecs_hazardoff Used to deactivate scooter’s hazard lights and send high priority record. Yes TFT100 FLEX protocol CAN Commands
govecs_drivetrain Used to request drive train state. Value 0 - OFF, value 1 - passive, value 2 - actuators active, value 3 - fully active, value 4 - immobilizer alarm. Yes TFT100 FLEX protocol CAN Commands
emco_unlock:<firmware ID> Used to unlock EMCO e-scooter using firmware ID. Yes TFT100 Manual CAN protocol CAN Commands
emco_lock Used to lock EMCO e-scooter. Yes TFT100 Manual CAN protocol CAN Commands
emco_open:# Used to open/close seat of EMCO e-scooter.
# - 1 - open seat; # - 0 - close seat.
Yes TFT100 Manual CAN protocol CAN Commands
mcan_cmd:<Command No.> Used to trigger Manual CAN Command. Yes TFT100 Manual CAN protocol CAN Commands
mcan_stop:<Command No.> Used to turn OFF periodic Manual CAN Command. Yes TFT100 Manual CAN protocol CAN Commands

RS485 Super Soco commands

Command Description Response HW Support Parameter Group
supersoco_lock

Used to lock the vehicle.

Yes TFT100 Super Soco protocol Commands
supersoco_unlock

Used to unlock the vehicle.

Yes TFT100 Super Soco protocol Commands
supersoco_poweron

Used to power on the vehicle.

Yes TFT100 Super Soco protocol Commands
supersoco_openseat

Used to open the vehicle seat.

Yes TFT100 Super Soco protocol Commands
supersoco_geterr

Used to request vehicle error codes.

Yes TFT100 Super Soco protocol Commands
supersoco_getfwver

Used to request vehicle firmware version.

Yes TFT100 Super Soco protocol Commands

E-Scooter Commands


Command Description Response HW Support Supported by
sclockctrl #

Used to lock/unlock E-Scooter. # = Value ↓
0 - Unlock
1 - Lock

Yes TST100

Xiaomi M365

Segway ES/MAX

FitRider

scsetunits #

Used to change units. # = Value ↓
0 - Kilometers (km)
1 - Miles (mi)

Yes TST100 FitRider
scrstcnt #

Resets internal E-Scooter counters. # = Value ↓
1 - single time
2 - total mileage
3 - total

Yes TST100 FitRider
scsetledswitch #

This option disallows headlight control by scledctrl command, if LED switch is set to 1 (scledswitch 1) # = Value ↓
0 - disable
1 - enable

Yes TST100 FitRider
scledctrl

Turns ON/OFF LED but only if -> scsetledswitch 1, # = Value ↓
0 - Turn OFF
1 - Turn ON
For OKAI scooters values are:
0 - Turn off
1 - Blink
2 - Turn on

Yes TST100 FitRider/Okai
scsetbtcode ######

Sets BT pairing code.
###### - 6 digits BT pairing code

Yes TST100 Segway ES/MAX/Xiaomi M365
scsetspdlim <arg1> <arg2>

Sets E-Scooter's Speed limit.
<arg1> - Mode
<arg2> - Speed limit

Yes TST100 Segway ES/MAX/FitRider/
Hergele/Okai
scsetmode #

Sets E-Scooter's operating mode. # = Value ↓
0 - NORMAL
1 - ECO
2 - SPORT

Yes TST100 Segway ES/MAX/
Hergele
scenginectrl #

Start or shut down the engine. # = Value ↓
0 - Turn OFF the engine
1 - Turn ON the engine

Yes TST100 Segway ES/MAX
screbootsys Restart E-Scooter's system. Restart is available only in non-riding mode. Corresponding mark will be reset after completion of the operation. Yes TST100 Segway ES/MAX
scpoweroff Shut down E-Scooter. Yes TST100 Segway ES/MAX
scsetcruiseswitch #

Cruise control switch. # = Value ↓
0 - OFF
1 - ON

Yes TST100 Segway ES/MAX
sclookfor #

Enable looking for scooter functionality. Initiates headlight and taillight flash + buzzer beep. # = Value ↓
0 - OFF
1 - ON

Yes TST100 Segway ES/MAX
scsetledswitch #

Headlight control. # = Value ↓
0 - OFF
1 - ON

Yes TST100 Segway ES/MAX/
FitRider/Hergele
scsetbeepswitch #

Beep control switch. # = Value ↓
0 - OFF
1 - ON

Yes TST100 Segway ES/MAX
scbuzzerctrl <arg1> <arg2>

IoT buzzer control.
<arg1> - 0 - OFF; 1 - ON
<arg2> - timeout (sec)

Yes TST100 Segway ES/MAX/Xiaomi M365
scgetbtcode Returns BT pairing code Yes TST100 Segway ES/MAX/Xiaomi M365
scgetspdlim #

Returns Speed limit value for chosen operating mode. # = Value
0 - NORMAL mode
1 - ECO mode
2 - SPORT mode

Yes TST100 Segway ES/MAX
scgetmode Returns operating mode. Yes TST100 Segway ES/MAX
scgetcruiseswitch Returns cruise control switch state. Yes TST100 Segway ES/MAX
scgetconfig Returns E-Scooter's functions setup. Yes TST100 Segway ES/MAX
scgetledswitch Returns headlight control switch state. Yes TST100 Segway ES/MAX
scsetalarmswitch <arg>

Beep control on alarm.
<arg> - 0 - OFF; 1 - ON

Yes TST100 Segway ES/MAX
scgetalarmswitch Returns alarm control switch state. Yes TST100 Segway ES/MAX
scgetbeepswitch Returns beep control switch state. Yes TST100 Segway ES/MAX
scsetconfig <arg1> <arg2>

E-Scooter's functions setup.
<arg1> - 0 - 1st instruction set; 1 - 2nd instruction set
<arg2> - 2 bytes value where each bit controls separate parameter

Yes TST100 Segway ES/MAX
sciap <arg>

E-Scooter's firmware update force command.
<arg> - 0 – Master control, 1 – BMS1 (internal battery), 2 - BMS2 (external battery), 3 - Instrument panel (scooter head), 4 – Cable Lock (Wired)

Yes TST100 Segway ES/MAX
scbatopen Opens battery lock for battery replacement Yes TST100 Segway MAX
sccableunlock Unlock cable lock Yes TST100 Segway MAX (with Wired lock)