Difference between revisions of "FMB640 SMS/GPRS command list"

From Wiki Knowledge Base | Teltonika GPS
Line 113: Line 113:
 
|-
 
|-
 
! 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;" | Enable/disable static navigation.
+
| style="text-align: left; vertical-align: top;" | Readout parameter value according entered ID.<br/># - ID value.
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
Line 138: Line 138:
 
6.# - PORT.<br/>
 
6.# - PORT.<br/>
 
7.# - MODE (0-TCP/1-UDP).
 
7.# - MODE (0-TCP/1-UDP).
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMB countrecs|countrecs]]''
 
| style="text-align: left; vertical-align: top;" | Returns records number.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''deleterecords''
 
| style="text-align: left; vertical-align: top;" | Delete all records from SD card.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
 
! style="text-align: left; vertical-align: top;" | ''wdlog''
 
| style="text-align: left; vertical-align: top;" | Returns all information about 'watch dogs' restarts.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''defaultcfg''
 
| style="text-align: left; vertical-align: top;" | Load default configuration.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMB setkey|setkey]] # #''
 
| style="text-align: left; vertical-align: top;" | Add new or change current configuration keyword. If device is locked, keyword cannot be changed.<br/>
 
1.# - old keyword (if adding new keyword space).<br/>
 
2.# - new keyword.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMB delkey|delkey]] #''
 
| style="text-align: left; vertical-align: top;" | Remove existing keyword (If device is locked, keyword cannot be changed).<br/>
 
1.# - old keyword.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMB bbread|bbread]] #''
 
| style="text-align: left; vertical-align: top;" | Return black box information (HEX value of event ID and HEX value of custom data field (optional)).<br/>
 
1.# - returns entered number of latest events. When # is omitted the latest events are packed to single SMS.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMB bbinfo|bbinfo]] #''
 
| style="text-align: left; vertical-align: top;" | Return same information as bbread command but additional all events timestamp is written in HEX.<br/>
 
1.# - returns entered number of latest events. When # is omitted the latest events are packed to single SMS.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''sdformat''
 
| style="text-align: left; vertical-align: top;" | Format SD card.
 
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-

Revision as of 06:41, 29 May 2018

Main Page > EOL Products > FMB640 > FMB640 Manual > FMB640 SMS/GPRS command list


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


Common commands

Command Description Response
getstatus Modem Status information. Yes
getweektime Current device time, Day of Week and amount of minutes passed since start of week Yes
getops List of currently used and available GSM operators Yes
getcfgtime Date and Time of last successful configuration Yes
getgps Current GPS data and time Yes
readops# Emergency gsm operator readout from active profile.

# - 1,2,3.
1 – operators [1-20].
2 – operators [21-40]
3 – operators [41-50]

Yes
getnmeainfo Nmea error debug sms. Yes
getcfgtime Date and Time of last successful configuration. Yes
getgps Current GPS data and time. Yes
cpureset Reset CPU. Yes
resetallprof Reset profile FLASH to default. Yes
getver Device / Modem / Code version information. Yes
getinfo Device runtime system information. Yes
deleterecords Delete all records saved on FLASH. Yes
getio Readout digital inputs and outputs, analog inputs. Yes
banlist Banlist information. Yes
crashlog Crash log information. Yes
delete_all_sms Delete all read SMS. Yes
braminfo BatRam info. Yes
getgnss Current GNSS information. Yes
resetlimits Resets data counters. Yes
sn x [x=0;1] Enable/disable static navigation. Yes
readio # Enable/disable static navigation. Yes
setdigout XXXX Y1 Y2 Y3 Y4 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.
3. # – 0 or 1 (0 - OFF or 1 – ON) for DOUT3.
4. # – 0 or 1 (0 - OFF or 1 – ON) for DOUT4.
Y1 – timeout value for DOUT1 if needed (in seconds).
Y2 – timeout value for DOUT2 if needed (in seconds).
Y3 – timeout value for DOUT3 if needed (in seconds).
Y4 – timeout value for DOUT4 if needed (in seconds).
Yes
getparam # Readout parameter value according entered ID.
# - ID value.
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

Commands related to features

Command Description Response
fc_reset Resets fuel consumption parameters. Yes
towingreact Towing reactivation. Yes
odoset:# Set total odometer value.
# - new odometer value in km.
Yes
odoget Display current odometer value. Yes

Commands related to Bluetooth

Command Description Response
btgetlist # Returns requested Bluetooth list.
# - 0,1 or 2 (0 – Discovered, 1 – Paired, 2 – Connected).
Yes
btscan Starts Bluetooth scan. Yes
btvisible # Sets Bluetooth 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 Bluetooth device.
# - all, BT address (all – unpair all devices, BT address – unpair only specified MAC address).
Yes

Commands related to LV-CAN200/ALL-CAN300

Command Description Response
lvcansetprog # Set program number to LV-CAN200/ ALL-CAN300 that is connected to FMB1YX.
# three digit number that identity vehicle.
Yes
lvcansimpletacho # Add or remove simpletacho start byte.
# - 0 or 1 (0 – don’t add start byte, 1 – add start byte).
No
lvcangetprog Get program number from LV-CAN200/ ALL-CAN300 that is connected to FMB1YX. Yes
lvcangetinfo Get information about connected LV-CAN200/ALL-CAN300. Yes
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
allcanmode Turn on ALL-CAN300 mode. Yes
lvcanmode Turn on LV-CAN200 mode. Yes
lvcanfaultcodes Read DTC fault codes. Yes