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

From Wiki Knowledge Base | Teltonika GPS
Line 14: Line 14:
 
! style="text-align: left; vertical-align: top;" | ''[[FMB getstatus|getstatus]]''
 
! style="text-align: left; vertical-align: top;" | ''[[FMB getstatus|getstatus]]''
 
| style="text-align: left; vertical-align: top;" | Modem Status information.
 
| style="text-align: left; vertical-align: top;" | Modem Status information.
 +
| style="text-align: left; vertical-align: top;" | Yes
 +
|-
 +
! style="text-align: left; vertical-align: top;" | ''[[FMB getweektime|getweektime]]''
 +
| style="text-align: left; vertical-align: top;" | Current device time, Day of Week and amount of minutes passed since start of week.
 +
| style="text-align: left; vertical-align: top;" | Yes
 +
|-
 +
! style="text-align: left; vertical-align: top;" | ''[[FMB getops|getops]]''
 +
| style="text-align: left; vertical-align: top;" | List of currently used and available GSM operators.
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
Line 20: Line 28:
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
! style="text-align: left; vertical-align: top;" | ''[[FMB getgps|getgps]]''
+
! style="text-align: left; vertical-align: top;" | ''[[FMB readops|readops#]]''
| style="text-align: left; vertical-align: top;" | Current GPS data and time
+
| style="text-align: left; vertical-align: top;" | Emergency gsm operator readout from active profile<br/>
 +
# - 1,2,3<br/>
 +
1 – operators [1-20] <br/>
 +
2 – operators [21-40] <br/>
 +
3 – operators [41-50]
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMB getnmeainfo|getnmeainfo]]''
 
! style="text-align: left; vertical-align: top;" | ''[[FMB getnmeainfo|getnmeainfo]]''
 
| style="text-align: left; vertical-align: top;" | Nmea error debug sms.
 
| style="text-align: left; vertical-align: top;" | Nmea error debug sms.
 +
| style="text-align: left; vertical-align: top;" | Yes
 +
|-
 +
! style="text-align: left; vertical-align: top;" | ''[[FMB getcfgtime|getcfgtime]]''
 +
| style="text-align: left; vertical-align: top;" | Date and Time of last successful configuration.
 +
| style="text-align: left; vertical-align: top;" | Yes
 +
|-
 +
! style="text-align: left; vertical-align: top;" | ''[[FMB getgps|getgps]]''
 +
| style="text-align: left; vertical-align: top;" | Current GPS data and time.
 +
| style="text-align: left; vertical-align: top;" | No
 +
|-
 +
! style="text-align: left; vertical-align: top;" | ''[[FMB loadprofile|loadprofile#]]''
 +
| style="text-align: left; vertical-align: top;" | Load specified profile into RAM Engine Profile. # - number of profile to load.
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMB cpureset|cpureset]]''
 
! style="text-align: left; vertical-align: top;" | ''[[FMB cpureset|cpureset]]''
 
| style="text-align: left; vertical-align: top;" | Reset CPU.
 
| style="text-align: left; vertical-align: top;" | Reset CPU.
| style="text-align: left; vertical-align: top;" | No
+
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMB resetallprof|resetallprof]]''
 
! style="text-align: left; vertical-align: top;" | ''[[FMB resetallprof|resetallprof]]''
| style="text-align: left; vertical-align: top;" | Reset profile FLASH to default.
+
| style="text-align: left; vertical-align: top;" | Reset all FLASH profiles to default profile.
 +
| style="text-align: left; vertical-align: top;" | Yes
 +
|-
 +
! style="text-align: left; vertical-align: top;" | ''[[FMB deleterecords|deleterecords]]''
 +
| style="text-align: left; vertical-align: top;" | Delete all records saved on FLASH.
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
Line 52: Line 80:
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
! style="text-align: left; vertical-align: top;" | ''[[FMB banlist|banlist]]''
+
! style="text-align: left; vertical-align: top;" | ''[[FMB readio|readio #]]''
| style="text-align: left; vertical-align: top;" | Banlist information.
+
| style="text-align: left; vertical-align: top;" | Readout input value according entered ID, # - ID value.
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMB crashlog|crashlog]]''
 
| style="text-align: left; vertical-align: top;" | Crash log information.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMB delete_all_sms|delete_all_sms]]''
 
| style="text-align: left; vertical-align: top;" | Delete all read SMS.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMB braminfo|braminfo]]''
 
| style="text-align: left; vertical-align: top;" | BatRam info.
 
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
Line 72: Line 88:
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
! style="text-align: left; vertical-align: top;" | ''[[FMB resetlimits|resetlimits]]''
+
! style="text-align: left; vertical-align: top;" | ''[[FMB sn|sn x [x=0;1]]]''
| style="text-align: left; vertical-align: top;" | Resets data counters.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMB readio|readio #]]''
 
 
| style="text-align: left; vertical-align: top;" | Enable/disable static navigation.
 
| style="text-align: left; vertical-align: top;" | Enable/disable static navigation.
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
Line 84: Line 96:
 
| style="text-align: left; vertical-align: top;" | Yes
 
| 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;" | ''[[getparam|getparam]] #''
| style="text-align: left; vertical-align: top;" | Readout parameter value according entered ID.<br/># - ID value.
+
| style="text-align: left; vertical-align: top;" | Readout parameter value according entered ID.
 +
# - ID value.
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
! style="text-align: left; vertical-align: top;" | ''[[FMB setparam|setparam]] #:#''
+
! style="text-align: left; vertical-align: top;" | ''[[setparam|setparam]] # #''
| style="text-align: left; vertical-align: top;" rowspan="2" | Sets selected parameter value.<br/>
+
| style="text-align: left; vertical-align: top;" rowspan="2" | Set parameter value according entered ID and Value.
1.# - first [[FMB Device Family Parameter list|ID value]].<br/>
+
1.# - ID value.
2.# - New first Parameter Value.<br/>
+
2.# - New Parameter Value.<br/>
3.# - second [[FMB Device Family Parameter list|ID value]].<br/>
 
4.# - New second Parameter Value.<br/>
 
5.# - third [[FMB Device Family Parameter list|ID value]].<br/>
 
6.# - New third Parameter Value.<br/>
 
SMS command is limited to 160 characters.
 
 
| style="text-align: left; vertical-align: top;" rowspan="2" | Yes
 
| style="text-align: left; vertical-align: top;" rowspan="2" | Yes
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMB setparam|setparam]] #:#;#:#;…''
 
 
|-
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMB flush|flush]] #,#,#,#,#,#,#''
 
! style="text-align: left; vertical-align: top;" | ''[[FMB flush|flush]] #,#,#,#,#,#,#''
Line 112: Line 118:
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
|}
+
! style="text-align: left; vertical-align: top;" | ''[[FMB banlist|banlist]]''
 
+
| style="text-align: left; vertical-align: top;" | Banlist information.
==Commands related to features==
+
| style="text-align: left; vertical-align: top;" | Yes
 
 
{| class="wikitable"
 
|+
 
! style="width: 150px; background: black; color: white;" | Command
 
! style="width: 500px; background: black; color: white;" | Description
 
! style="width: 50px; background: black; color: white;" | Response
 
 
|-
 
|-
! style="text-align: left; vertical-align: top;" | ''[[FMB odoset|odoset]]:#''
+
! style="text-align: left; vertical-align: top;" | ''[[FMB crashlog|crashlog]]''
| style="text-align: left; vertical-align: top;" | Set total odometer value.<br/># - new odometer value in km.
+
| style="text-align: left; vertical-align: top;" | Crash log information.
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
! style="text-align: left; vertical-align: top;" | ''[[FMB odoget|odoget]]''
+
! style="text-align: left; vertical-align: top;" | ''[[FMB delete_all_sms|delete_all_sms]]''
| style="text-align: left; vertical-align: top;" | Display current odometer value.
+
| style="text-align: left; vertical-align: top;" | Delete all read SMS.
| style="text-align: left; vertical-align: top;" | Yes
+
| style="text-align: left; vertical-align: top;" | No
 +
|-
 +
! style="text-align: left; vertical-align: top;" | ''[[FMB delete_all_sms|delete_all_sms]]''
 +
| style="text-align: left; vertical-align: top;" | Delete all read SMS.
 +
| style="text-align: left; vertical-align: top;" | No
 
|-
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMB odinfo|odinfo]]''
 
! style="text-align: left; vertical-align: top;" | ''[[FMB odinfo|odinfo]]''
 
| style="text-align: left; vertical-align: top;" | Odometer Debug info.
 
| style="text-align: left; vertical-align: top;" | Odometer Debug info.
 +
| style="text-align: left; vertical-align: top;" | Yes
 +
|-
 +
! style="text-align: left; vertical-align: top;" | ''[[FMB prof2backup|prof2backup]]''
 +
| style="text-align: left; vertical-align: top;" | Saves configuration to backup.
 +
| style="text-align: left; vertical-align: top;" | Yes
 +
|-
 +
! style="text-align: left; vertical-align: top;" | ''[[FMB backup2prof|backup2prof]]''
 +
| style="text-align: left; vertical-align: top;" | Recovers saved profile.
 +
| style="text-align: left; vertical-align: top;" | Yes
 +
|-
 +
! style="text-align: left; vertical-align: top;" | ''[[FMB backupinfo|backupinfo]]''
 +
| style="text-align: left; vertical-align: top;" | Backup information.
 
| style="text-align: left; vertical-align: top;" | Yes
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|-
 
|}
 
|}
 
 
{{{sect_can|{{Template:FMB640 CAN SMS/GRPS commands}}}}}
 
{{{sect_can|{{Template:FMB640 CAN SMS/GRPS commands}}}}}

Revision as of 12:44, 31 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
readops# Emergency gsm operator readout from active profile
  1. - 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. No
loadprofile# Load specified profile into RAM Engine Profile. # - number of profile to load. Yes
cpureset Reset CPU. Yes
resetallprof Reset all FLASH profiles to default profile. Yes
deleterecords Delete all records saved on FLASH. 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
readio # Readout input value according entered ID, # - ID value. Yes
getgnss Current GNSS information. Yes
sn x [x=0;1] 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.
  1. - ID value.
Yes
setparam # # Set parameter value according entered ID and Value.

1.# - ID value. 2.# - New Parameter Value.

Yes
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
banlist Banlist information. Yes
crashlog Crash log information. Yes
delete_all_sms Delete all read SMS. No
delete_all_sms Delete all read SMS. No
odinfo Odometer Debug info. Yes
prof2backup Saves configuration to backup. Yes
backup2prof Recovers saved profile. Yes
backupinfo Backup information. Yes

Commands related to LV-CAN200/ALL-CAN300

Command Description Response
lvcansetprog # Set program number to LV-CAN200/ ALL-CAN300 that is connected to FMx640.
# - 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 FMx640 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