Difference between revisions of "Template:FMB964 SMS/GPRS command list"

From Wiki Knowledge Base | Teltonika GPS
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Template:FMB FW development notice}}
 
 
All commands are case sensitive. When user tries to send SMS/GPRS message to {{{model|FMB1YX}}} that operates in Deep Sleep mode, it cannot arrive to {{{model|FMB1YX}}} device because the GSM/GPRS module is disabled most of the time. {{{model|FMB1YX}}} will receive the SMS/GPRS message when it exits Deep Sleep mode.<br/>If {{{model|FMB1YX}}} is in GPS Sleep or Online Deep Sleep mode, sent SMS/GPRS message will arrive to the device.
 
 
 
 
==Common commands==
 
==Common commands==
  
Line 44: Line 39:
 
| style="text-align: left; vertical-align: top;" | No
 
| style="text-align: left; vertical-align: top;" | No
 
|-
 
|-
 +
 +
! style="text-align: left; vertical-align: top;" | ''[[FMB fwstats|fwstats]]''
 +
| style="text-align: left; vertical-align: top;" | Get data about FW and restarts
 +
| style="text-align: left; vertical-align: top;" | Yes
 +
|-
 +
 +
! style="text-align: left; vertical-align: top;" | ''getrecord''
 +
| style="text-align: left; vertical-align: top;" | SMS command initiates saving and sending of high priority record
 +
| style="text-align: left; vertical-align: top;" | No
 +
|-
 +
 +
! style="text-align: left; vertical-align: top;" | ''getimeiccid''
 +
| style="text-align: left; vertical-align: top;" | Reponse is sent to SMS/GPRS sender and to number which is provided.
 +
| style="text-align: left; vertical-align: top;" | Yes
 +
|-
 +
 +
 +
 +
! style="text-align: left; vertical-align: top;" | ''allver''
 +
| style="text-align: left; vertical-align: top;" | Responds with information about hardware and firmware versions and storage space
 +
| style="text-align: left; vertical-align: top;" | Yes
 +
|-
 +
 +
 +
 
! style="text-align: left; vertical-align: top;" | ''[[FMB getparam|getparam]] #''
 
! style="text-align: left; vertical-align: top;" | ''[[FMB getparam|getparam]] #''
 
| style="text-align: left; vertical-align: top;" | Returns selected parameter value, # param [[FMB Device Family Parameter list|ID]].
 
| style="text-align: left; vertical-align: top;" | Returns selected parameter value, # param [[FMB Device Family Parameter list|ID]].
Line 123: Line 143:
 
|}
 
|}
  
{{{sect_features|{{Template:FMB Features SMS/GRPS commands}}}}}
+
==Commands related to Blue-tooth==
 
 
==Commands related to Bluetooth==
 
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 134: Line 152:
 
|-
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMB btgetlist|btgetlist]] #''
 
! style="text-align: left; vertical-align: top;" | ''[[FMB btgetlist|btgetlist]] #''
| style="text-align: left; vertical-align: top;" | Returns requested Bluetooth list. <br/># - 0,1 or 2 (0 – Discovered, 1 – Paired, 2 – Connected).
+
| style="text-align: left; vertical-align: top;" | Returns requested Blue-tooth list. <br/># - 0,1 or 2 (0 – Discovered, 1 – Paired, 2 – Connected).
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
 
! style="text-align: left; vertical-align: top;" | ''btscan''
 
! style="text-align: left; vertical-align: top;" | ''btscan''
| style="text-align: left; vertical-align: top;" | Starts Bluetooth scan.
+
| style="text-align: left; vertical-align: top;" | Starts Blue-tooth scan.
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
 
! style="text-align: left; vertical-align: top;" | ''btvisible #''
 
! style="text-align: left; vertical-align: top;" | ''btvisible #''
| style="text-align: left; vertical-align: top;" | Sets Bluetooth to visible with TMO. <br/># - visibility TMO (from 1 to 255 seconds).
+
| style="text-align: left; vertical-align: top;" | Sets Blue-tooth to visible with TMO. <br/># - visibility TMO (from 1 to 255 seconds).
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
Line 150: Line 168:
 
|-
 
|-
 
! style="text-align: left; vertical-align: top;" | ''btunpair #''
 
! style="text-align: left; vertical-align: top;" | ''btunpair #''
| style="text-align: left; vertical-align: top;" | Unpair Bluetooth device. <br/># - all, BT address (all – unpair all devices, BT address – unpair only specified MAC address).
+
| style="text-align: left; vertical-align: top;" | Unpair Blue-tooth device. <br/># - all, BT address (all – unpair all devices, BT address – unpair only specified MAC address).
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
 +
 +
! style="text-align: left; vertical-align: top;" | ''#BT DAT= (Server->BT communication)''
 +
| style="text-align: left; vertical-align: top;" | Forwards data, to connected device(Data Link mode only).
 +
| style="text-align: left; vertical-align: top;" | Yes
 +
|-
 +
 +
! style="text-align: left; vertical-align: top;" | ''#SPP DAT= (Server->BT communication)''
 +
| style="text-align: left; vertical-align: top;" | Forwards data, to connected device, no matter, client or server connection.
 +
| style="text-align: left; vertical-align: top;" | Yes
 +
|-
 +
 +
 +
 +
 
|}
 
|}
  
 
{{{sect_obd|{{Template:FMB OBD SMS/GRPS commands}}}}}
 
{{{sect_obd|{{Template:FMB OBD SMS/GRPS commands}}}}}
 +
 +
{{{sect_features|{{Template:FMB Features SMS/GRPS commands}}}}}

Latest revision as of 15:20, 21 September 2018

Common commands

Command Description Response
getinfo Device runtime system information. Yes
getver Returns code version, device IMEI, modem app version, RTC time, Init time, Uptime and BT MAC address. Yes
getstatus Modem Status information. Yes
getgps Current GPS data, date and time. Yes
getio Readout analog input,digital input and output. Yes
ggps Returns location information with Google maps link. Yes
readio # Returns IO status, # AVL ID. Yes
cpureset Resets device. No
fwstats Get data about FW and restarts Yes
getrecord SMS command initiates saving and sending of high priority record No
getimeiccid Reponse is sent to SMS/GPRS sender and to number which is provided. Yes
allver Responds with information about hardware and firmware versions and storage space Yes
getparam # Returns selected parameter value, # param ID. Yes
setparam #:# Sets selected parameter value.

1.# - first ID value.
2.# - New first Parameter Value.
3.# - second ID value.
4.# - New second Parameter Value.
5.# - third ID value.
6.# - New third Parameter Value.
SMS command is limited to 160 characters.

Yes
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
countrecs Returns records number. Yes
deleterecords Delete all records from SD card. Yes
setdigout ## Y1 Y2 Set digital output.
1.# – 0 or 1 (0 - OFF or 1 – ON) for DOUT1.
2.# – 0 or 1 (0 - OFF or 1 – ON) for DOUT2.
Y1 – timeout value for DOUT1 if needed (in seconds).
Y2 – timeout value for DOUT2 if needed (in seconds).
Yes
battery Returns battery state info. Yes
wdlog Returns all information about 'watch dogs' restarts. Yes
defaultcfg Load default configuration. Yes
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
delkey # Remove existing keyword (If device is locked, keyword cannot be changed).

1.# - old keyword.

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

Commands related to Blue-tooth

Command Description Response
btgetlist # Returns requested Blue-tooth list.
# - 0,1 or 2 (0 – Discovered, 1 – Paired, 2 – Connected).
Yes
btscan Starts Blue-tooth scan. Yes
btvisible # Sets Blue-tooth to visible with TMO.
# - visibility TMO (from 1 to 255 seconds).
Yes
btrelease # Disconnects from current device and pauses auto connect functionality for TMO.
# - none or TMO (from 1 to 255 seconds).
Yes
btunpair # Unpair Blue-tooth device.
# - all, BT address (all – unpair all devices, BT address – unpair only specified MAC address).
Yes
#BT DAT= (Server->BT communication) Forwards data, to connected device(Data Link mode only). Yes
#SPP DAT= (Server->BT communication) Forwards data, to connected device, no matter, client or server connection. Yes

Commands related to OBD

Command Description Response
obdinfo If connected with Blue-tooth OBD dongle displays all available information from OBD. Yes
faultcodes If connected with Blue-tooth OBD dongle display all visible fault codes. Yes
cleardtc Clears all vehicle stored fault codes. No
getvin Get vehicle VIN code, if OBD dongle is connected. Yes

Commands related to features

Command Description Response
fc_reset Resets fuel consumption parameters. Yes
towingreact Towing reactivation. Yes
auto_calibrate:set Calibrate position if car accelerate straight to > 30 km/h for 5 sec. Yes
auto_calibrate:get Returns the state of calibration. Yes
odoset:# Set total odometer value.
# - new odometer value in km.
Yes
odoget Display current odometer value. Yes
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.
Yes