Difference between revisions of "Template:FMB640 SMS/GPRS command list"
(Created page with "{{Template:FMB FW development notice}} All commands are case sensitive. When user tries to send SMS/GPRS message to {{{model|FMB640}}} that operates in Deep Sleep mode, it ca...") |
Marius Bakas (talk | contribs) |
||
(13 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:FMB FW development notice}} | {{Template:FMB FW development notice}} | ||
+ | All commands are case sensitive. When user tries to send SMS/GPRS message to {{{model|FMB640}}} that operates in Deep Sleep mode, it cannot arrive to {{{model|FMB640}}} device because the GSM/GPRS module is disabled most of the time. {{{model|FMB640}}} will receive the SMS/GPRS message when it exits Deep Sleep mode.<br/>If {{{model|FMB640}}} 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 [[FMB getinfo|getinfo]] example: | ||
+ | *If you have set SMS login and password: <code>login pass getinfo</code> | ||
+ | *If SMS login and password are not set leave two spaces before command: <code> getinfo</code> | ||
==Common commands== | ==Common commands== | ||
+ | <table class="nd-othertables_2" style="width:65%"> | ||
+ | <tr> | ||
+ | <th style="width:15%; text-align: center;">Command</th> | ||
+ | <th style="width:30%; text-align: center;">Description</th> | ||
+ | <th style="width:15%; text-align: center;">Response</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''[[FM6_getstatus|getstatus]]''</td> | ||
+ | <td style="text-align: left;">Modem Status information</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''getrecord''</td> | ||
+ | <td style="text-align: left;">SMS command initiates saving and sending of high priority record</td> | ||
+ | <td style="text-align: center;">No</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''[[FMB getcfgtime|getcfgtime]]''</td> | ||
+ | <td style="text-align: left;">Date and Time of last successful configuration</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''[[FMB getgps|getgps]]''</td> | ||
+ | <td style="text-align: left;">Current GPS data and time</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''[[FMB getnmeainfo|getnmeainfo]]''</td> | ||
+ | <td style="text-align: left;">NMEA error debug SMS</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''cpureset''</td> | ||
+ | <td style="text-align: left;">Reset CPU</td> | ||
+ | <td style="text-align: center;">No</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''defaultcfg''</td> | ||
+ | <td style="text-align: left;">Reset configuration to default</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''[[FMB getver|getver]]''</td> | ||
+ | <td style="text-align: left;">Device / Modem / Code version information</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''[[FMX6 getinfo|getinfo]]''</td> | ||
+ | <td style="text-align: left;">Device runtime system information</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''tacho_connect''</td> | ||
+ | <td style="text-align: left;">Connect to Web Tacho immediately</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''web_connect''</td> | ||
+ | <td style="text-align: left;">Connect to Fota WEB immediately</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''deleterecords''</td> | ||
+ | <td style="text-align: left;">Delete all records saved on FLASH</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''[[FMB getio|getio]]''</td> | ||
+ | <td style="text-align: left;">Readout digital inputs and outputs, analog inputs</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''[[FMB banlist|banlist]]''</td> | ||
+ | <td style="text-align: left;">Banlist information</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''crashlog''</td> | ||
+ | <td style="text-align: left;">Crash log information</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''delete_all_sms''</td> | ||
+ | <td style="text-align: left;">Delete all read SMS</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''[[FMB braminfo|braminfo]]''</td> | ||
+ | <td style="text-align: left;">BatRam info</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''[[FMB getgnss|getgnss]]''</td> | ||
+ | <td style="text-align: left;">Current GNSS information</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''resetlimits''</td> | ||
+ | <td style="text-align: left;">Resets data counters</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''getlimits''</td> | ||
+ | <td style="text-align: left;">Gets home/roaming uploaded data information</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''[[FMB scanfms|scanfms]]''</td> | ||
+ | <td style="text-align: left;">Shows FMS elements that can be read from vehicle</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''[[FMB readio|readio #]]''</td> | ||
+ | <td style="text-align: left;">Returns IO status, # AVL ID</td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
− | + | ||
− | + | ||
− | + | <tr> | |
− | + | <td style="text-align: center;">{{{cmd_setdigout|''[[FMB setdigout|setdigout]] XXXX Y1 Y2 Y3 Y4''}}}</td> | |
− | + | <td style="text-align: left;">Set digital output{{{txt_setdigout|<br/> | |
− | + | 1. # – 0; 1 or ? (0 - OFF, 1 – ON or ? – Ignore) for DOUT1<br/> | |
− | + | 2. # – 0; 1 or ? (0 - OFF, 1 – ON or ? – Ignore) for DOUT2<br/> | |
− | + | 3. # – 0; 1 or ? (0 - OFF, 1 – ON or ? – Ignore) for DOUT3<br/> | |
− | + | 4. # – 0; 1 or ? (0 - OFF, 1 – ON or ? – Ignore) 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)}}}</td> | |
− | + | <td style="text-align: center;">Yes</td> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td style="text-align: center;">''[[FMB getparam|getparam]] #''</td> | |
− | + | <td style="text-align: left;">Readout parameter value according entered ID.<br/># - ID value</td> | |
− | + | <td style="text-align: center;">Yes</td> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td style="text-align: center;">''[[FMB setparam|setparam]] #:#''</td> | |
− | + | <td style="text-align: left;" rowspan="2">Sets selected parameter value<br/> | |
− | + | 1.# - first [[FMB Device Family Parameter list|ID value]]<br/> | |
− | + | 2.# - New first 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</td> | |
− | + | <td style="text-align: center;" rowspan="2">Yes</td> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td style="text-align: center;">''[[FMB setparam|setparam]] #:#;#:#;…''</td> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td style="text-align: center;">''[[FMB flush|flush]] #,#,#,#,#,#,#''</td> | |
− | + | <td style="text-align: left;">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)</td> | |
− | + | <td style="text-align: center;">Yes</td> | |
− | + | </tr> | |
− | + | </table> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | 1.# - first [[FMB Device Family Parameter list|ID value]] | ||
− | 2.# - New first Parameter Value | ||
− | 3.# - second [[FMB Device Family Parameter list|ID value]] | ||
− | 4.# - New second Parameter Value | ||
− | 5.# - third [[FMB Device Family Parameter list|ID value]] | ||
− | 6.# - New third Parameter Value | ||
− | SMS command is limited to 160 characters | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | 1.# - IMEI | ||
− | 2.# - APN | ||
− | 3.# - LOGIN | ||
− | 4.# - PASS | ||
− | 5.# - IP | ||
− | 6.# - PORT | ||
− | 7.# - MODE (0-TCP/1-UDP) | ||
− | |||
− | |||
− | |||
==Commands related to features== | ==Commands related to features== | ||
− | + | <table class="nd-othertables_2" style="width:65%"> | |
− | + | <tr> | |
− | + | <th style="width:10%; text-align: center;">Command</th> | |
− | + | <th style="width:25%; text-align: center;">Description</th> | |
− | + | <th style="width:10%; text-align: center;">Response</th> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td style="text-align: center;">''[[FMB odoset|odoset]]:#''</td> | |
− | + | <td style="text-align: left;">Set total odometer value<br/># - new odometer value in m</td> | |
− | + | <td style="text-align: center;">Yes</td> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td style="text-align: center;">''[[FMB odoget|odoget]]''</td> | |
− | + | <td style="text-align: left;">Display current odometer value</td> | |
− | + | <td style="text-align: center;">Yes</td> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td style="text-align: center;">''[[FMB odinfo|odinfo]]''</td> | |
− | + | <td style="text-align: left;">Odometer Debug info</td> | |
− | + | <td style="text-align: center;">Yes</td> | |
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="text-align: center;">''[[Tracking_on_Demand|on_demand_trackingX]]''</td> | ||
+ | <td style="text-align: left;"> | ||
+ | X=0 – Stops Tracking on Demand functionality.<br /> | ||
+ | X=1 – Starts Tracking on Demand functionality.<br /> | ||
+ | X=2 – Generates one high priority record and inititates data sending to server.<br /> | ||
+ | </td> | ||
+ | <td style="text-align: center;">Yes</td> | ||
+ | </tr> | ||
+ | </table> | ||
{{{sect_can|{{Template:FMB640 CAN SMS/GRPS commands}}}}} | {{{sect_can|{{Template:FMB640 CAN SMS/GRPS commands}}}}} |
Latest revision as of 17:05, 28 November 2022
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.
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 |
Yes |
getparam # | Readout parameter value according entered ID. # - ID value |
Yes |
setparam #:# | Sets selected parameter value 1.# - first ID value |
Yes |
setparam #:#;#:#;… | ||
flush #,#,#,#,#,#,# | Redirects device to other server 1.# - IMEI |
Yes |
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. |
Yes |
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 |