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

From Wiki Knowledge Base | Teltonika GPS
(Replaced content with "{{Template:FMB640_SMS/GPRS_command_list|model=FMM640}} Category:FMM640 Manual")
Tag: Replaced
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
All commands are case sensitive. When user tries to send SMS/GPRS message to FMM640 that operates in Deep Sleep mode, it cannot arrive to FMM640 device because the GSM/GPRS module is disabled most of the time. FMM640 will receive the SMS/GPRS message when it exits Deep Sleep mode.
+
{{Template:FMB640_SMS/GPRS_command_list|model=FMM640}}
If FMM640 is in GPS Sleep or Online Deep Sleep mode, sent SMS/GPRS message will arrive to the device.
 
 
 
==Common commands==
 
 
 
{| 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;" | ''[[FMM getstatus|getstatus]]''
 
| 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;" | ''[[FMM 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;" | ''[[FMM getgps|getgps]]''
 
| style="text-align: left; vertical-align: top;" | Current GPS data and time
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMM getnmeainfo|getnmeainfo]]''
 
| 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;" | ''[[FMM cpureset|cpureset]]''
 
| style="text-align: left; vertical-align: top;" | Reset CPU.
 
| style="text-align: left; vertical-align: top;" | No
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMM defaultcfg|defaultcfg]]''
 
| style="text-align: left; vertical-align: top;" | Reset configuration to default.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMM getver|getver]]''
 
| style="text-align: left; vertical-align: top;" | Device / Modem / Code version information.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMM getinfo|getinfo]]''
 
| style="text-align: left; vertical-align: top;" | Device runtime system information.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMM 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;" | ''[[FMM getio|getio]]''
 
| style="text-align: left; vertical-align: top;" | Readout digital inputs and outputs, analog inputs.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMM banlist|banlist]]''
 
| style="text-align: left; vertical-align: top;" | Banlist information.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMM 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;" | ''[[FMM 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;" | ''[[FMM 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;" | ''[[FMM getgnss|getgnss]]''
 
| style="text-align: left; vertical-align: top;" | Current GNSS information.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMM resetlimits|resetlimits]]''
 
| 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;" | ''[[FMM scanfms|scanfms]]''
 
| style="text-align: left; vertical-align: top;" | Shows FMS elements that can be read from vehicle
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMM readio|readio #]]''
 
| style="text-align: left; vertical-align: top;" | Returns IO status, # AVL ID.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | {{{cmd_setdigout|''[[FMM setdigout|setdigout]] XXXX Y1 Y2 Y3 Y4''}}}
 
| style="text-align: left; vertical-align: top;" | Set digital output.{{{txt_setdigout|<br/>1. # – 0 or 1 (0 - OFF or 1 – ON) for DOUT1.<br/>2. # – 0 or 1 (0 - OFF or 1 – ON) for DOUT2.<br/>3. # – 0 or 1 (0 - OFF or 1 – ON) for DOUT3.<br/>4. # – 0 or 1 (0 - OFF or 1 – ON) for DOUT4.<br/>Y1 – timeout value for DOUT1 if needed (in seconds).<br/>Y2 – timeout value for DOUT2 if needed (in seconds).<br/>Y3 – timeout value for DOUT3 if needed (in seconds).<br/>Y4 – timeout value for DOUT4 if needed (in seconds).}}}
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMM 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;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMM setparam|setparam]] #:#''
 
| style="text-align: left; vertical-align: top;" rowspan="2" | Sets selected parameter value.<br/>
 
1.# - first [[FMM Device Family Parameter list|ID value]].<br/>
 
2.# - New first Parameter Value.<br/>
 
3.# - second [[FMM Device Family Parameter list|ID value]].<br/>
 
4.# - New second Parameter Value.<br/>
 
5.# - third [[FMM 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;" | ''[[FMM setparam|setparam]] #:#;#:#;…''
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMM flush|flush]] #,#,#,#,#,#,#''
 
| style="text-align: left; vertical-align: top;" | Redirects device to other server.<br/>
 
1.# - IMEI.<br/>
 
2.# - APN.<br/>
 
3.# - LOGIN.<br/>
 
4.# - PASS.<br/>
 
5.# - IP.<br/>
 
6.# - PORT.<br/>
 
7.# - MODE (0-TCP/1-UDP).
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|}
 
 
 
==Commands related to features==
 
 
 
{| 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;" | ''[[FMM odoset|odoset]]:#''
 
| style="text-align: left; vertical-align: top;" | Set total odometer value.<br/># - new odometer value in m.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMM odoget|odoget]]''
 
| style="text-align: left; vertical-align: top;" | Display current odometer value.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMM odinfo|odinfo]]''
 
| style="text-align: left; vertical-align: top;" | Odometer Debug info.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|}
 
 
 
{{{sect_can|{{Template:FMM640 CAN SMS/GRPS commands}}}}}
 
 
 
==Commands related to LV-CAN200/ALL-CAN300==
 
 
 
{| 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;" | ''lvcansetprog #''
 
| style="text-align: left; vertical-align: top;" | Set program number to LV-CAN200/ ALL-CAN300 that is connected to {{{model|FMM640}}}.<br/># three digit number that identity vehicle.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''lvcansimpletacho #''
 
| style="text-align: left; vertical-align: top;" | Add or remove simpletacho start byte.<br/># - 0 or 1 (0 – don’t add start byte, 1 – add start byte).
 
| style="text-align: left; vertical-align: top;" | No
 
|-
 
! style="text-align: left; vertical-align: top;" | ''lvcangetprog''
 
| style="text-align: left; vertical-align: top;" | Get program number from LV-CAN200/ ALL-CAN300 that is connected to {{{model|FMM640}}}.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMM lvcangetinfo|lvcangetinfo]]''
 
| style="text-align: left; vertical-align: top;" | Get information about connected LV-CAN200/ALL-CAN300.
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
! style="text-align: left; vertical-align: top;" | ''[[FMM lvcanclear|lvcanclear]] #''
 
| style="text-align: left; vertical-align: top;" | Clear Total Mileage (counted), Engine Work Time (counted), Fuel Consumed (counted) parameters values. <br/># - parameter (0 – Engine work time (counted), 1 – Fuel Consumed (counted), 2 – Vehicle Mileage (counted))..
 
| style="text-align: left; vertical-align: top;" | Yes
 
|-
 
|}
 
 
 
  
 
[[Category:FMM640 Manual]]
 
[[Category:FMM640 Manual]]

Revision as of 08:47, 6 December 2019

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

All commands are case sensitive. When user tries to send SMS/GPRS message to FMM640 that operates in Deep Sleep mode, it cannot arrive to FMM640 device because the GSM/GPRS module is disabled most of the time. FMM640 will receive the SMS/GPRS message when it exits Deep Sleep mode.
If FMM640 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

Common commands

Command Description Response
getstatus Modem Status information Yes
getrecord SMS command initiates saving and sending of high priority record No
getcfgtime Date and Time of last successful configuration Yes
getgps Current GPS data and time Yes
getnmeainfo NMEA error debug SMS Yes
cpureset Reset CPU No
defaultcfg Reset configuration to default Yes
getver Device / Modem / Code version information Yes
getinfo Device runtime system information Yes
tacho_connect Connect to Web Tacho immediately Yes
web_connect Connect to Fota WEB immediately 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
getlimits Gets home/roaming uploaded data information Yes
scanfms Shows FMS elements that can be read from vehicle Yes
readio # Returns IO status, # AVL ID Yes
setdigout XXXX Y1 Y2 Y3 Y4 Set digital output

1. # – 0; 1 or ? (0 - OFF, 1 – ON or ? – Ignore) for DOUT1
2. # – 0; 1 or ? (0 - OFF, 1 – ON or ? – Ignore) for DOUT2
3. # – 0; 1 or ? (0 - OFF, 1 – ON or ? – Ignore) for DOUT3
4. # – 0; 1 or ? (0 - OFF, 1 – ON or ? – Ignore) 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
odoset:# Set total odometer value
# - new odometer value in m
Yes
odoget Display current odometer value Yes
odinfo Odometer Debug info 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

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