Difference between revisions of "FMM150 SMS/GPRS Commands"
m (Text replacement - "Bluetooth®" to "Bluetooth") |
m (Text replacement - "Bluetooth(?!®)" to "Bluetooth®") |
||
Line 479: | Line 479: | ||
</table> | </table> | ||
− | === | + | ===Bluetooth® Commands=== |
---- | ---- | ||
<table class="nd-othertables_2"> | <table class="nd-othertables_2"> | ||
Line 491: | Line 491: | ||
<tr> | <tr> | ||
<td style="text-align: center;">''[[FMB btgetlist|btgetlist]] #''</td> | <td style="text-align: center;">''[[FMB btgetlist|btgetlist]] #''</td> | ||
− | <td style="text-align: left;">Returns requested | + | <td style="text-align: left;">Returns requested Bluetooth® list.<br /> |
# - 0,1 or 2 (0 – Discovered, 1 – Paired, 2 – Connected, 3 – Discovered BT4/BLE devices).</td> | # - 0,1 or 2 (0 – Discovered, 1 – Paired, 2 – Connected, 3 – Discovered BT4/BLE devices).</td> | ||
<td style="text-align: center;">Yes</td> | <td style="text-align: center;">Yes</td> | ||
Line 499: | Line 499: | ||
<span class="mw-collapsible mw-collapsed">{{Template:FMB_AVL_ID_all_FMB}}</span> | <span class="mw-collapsible mw-collapsed">{{Template:FMB_AVL_ID_all_FMB}}</span> | ||
</div></td> | </div></td> | ||
− | <td style="text-align: center;"> | + | <td style="text-align: center;">Bluetooth® commands</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="text-align: center;">''btscan''</td> | <td style="text-align: center;">''btscan''</td> | ||
− | <td style="text-align: left;">Starts | + | <td style="text-align: left;">Starts Bluetooth® scan.</td> |
<td style="text-align: center;">Yes</td> | <td style="text-align: center;">Yes</td> | ||
<td style="text-align: center;"> | <td style="text-align: center;"> | ||
Line 510: | Line 510: | ||
<span class="mw-collapsible mw-collapsed">{{Template:FMB_AVL_ID_all_FMB}}</span> | <span class="mw-collapsible mw-collapsed">{{Template:FMB_AVL_ID_all_FMB}}</span> | ||
</div></td> | </div></td> | ||
− | <td style="text-align: center;"> | + | <td style="text-align: center;">Bluetooth® commands</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="text-align: center;">''btvisible #''</td> | <td style="text-align: center;">''btvisible #''</td> | ||
− | <td style="text-align: left;">Sets | + | <td style="text-align: left;">Sets Bluetooth® to visible with TMO. <br /> |
# - visibility TMO (from 1 to 255 seconds).</td> | # - visibility TMO (from 1 to 255 seconds).</td> | ||
<td style="text-align: center;">Yes</td> | <td style="text-align: center;">Yes</td> | ||
Line 522: | Line 522: | ||
<span class="mw-collapsible mw-collapsed">{{Template:FMB_AVL_ID_all_FMB}}</span> | <span class="mw-collapsible mw-collapsed">{{Template:FMB_AVL_ID_all_FMB}}</span> | ||
</div></td> | </div></td> | ||
− | <td style="text-align: center;"> | + | <td style="text-align: center;">Bluetooth® commands</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 534: | Line 534: | ||
<span class="mw-collapsible mw-collapsed">{{Template:FMB_AVL_ID_all_FMB}}</span> | <span class="mw-collapsible mw-collapsed">{{Template:FMB_AVL_ID_all_FMB}}</span> | ||
</div></td> | </div></td> | ||
− | <td style="text-align: center;"> | + | <td style="text-align: center;">Bluetooth® commands</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="text-align: center;">''btunpair #''</td> | <td style="text-align: center;">''btunpair #''</td> | ||
− | <td style="text-align: left;">Unpair | + | <td style="text-align: left;">Unpair Bluetooth® device. <br /> |
# - all, BT address (all – unpair all devices, BT address – unpair only specified MAC address).</td> | # - all, BT address (all – unpair all devices, BT address – unpair only specified MAC address).</td> | ||
<td style="text-align: center;">Yes</td> | <td style="text-align: center;">Yes</td> | ||
Line 546: | Line 546: | ||
<span class="mw-collapsible mw-collapsed">{{Template:FMB_AVL_ID_all_FMB}}</span> | <span class="mw-collapsible mw-collapsed">{{Template:FMB_AVL_ID_all_FMB}}</span> | ||
</div></td> | </div></td> | ||
− | <td style="text-align: center;"> | + | <td style="text-align: center;">Bluetooth® commands</td> |
</tr> | </tr> | ||
</table> | </table> | ||
Line 646: | Line 646: | ||
<tr> | <tr> | ||
<td style="text-align: center;">''[[FMB obdinfo|obdinfo]]''</td> | <td style="text-align: center;">''[[FMB obdinfo|obdinfo]]''</td> | ||
− | <td style="text-align: left;">Command works on OBD trackers with data reading capabilities (FMX00Y). On other trackers it works only if connected with | + | <td style="text-align: left;">Command works on OBD trackers with data reading capabilities (FMX00Y). On other trackers it works only if connected with Bluetooth® OBD dongle. Response displays all available information from OBD.</td> |
<td style="text-align: center;">Yes</td> | <td style="text-align: center;">Yes</td> | ||
<td style="text-align: center;"> | <td style="text-align: center;"> | ||
Line 657: | Line 657: | ||
<tr> | <tr> | ||
<td style="text-align: center;">''[[FMB faultcodes|faultcodes]]''</td> | <td style="text-align: center;">''[[FMB faultcodes|faultcodes]]''</td> | ||
− | <td style="text-align: left;">Command works on OBD trackers with data reading capabilities (FMX00Y). On other trackers it works only if connected with | + | <td style="text-align: left;">Command works on OBD trackers with data reading capabilities (FMX00Y). On other trackers it works only if connected with Bluetooth® OBD dongle. Response displays all visible fault codes.</td> |
<td style="text-align: center;">Yes</td> | <td style="text-align: center;">Yes</td> | ||
<td style="text-align: center;"> | <td style="text-align: center;"> | ||
Line 668: | Line 668: | ||
<tr> | <tr> | ||
<td style="text-align: center;">''cleardtc''</td> | <td style="text-align: center;">''cleardtc''</td> | ||
− | <td style="text-align: left;">Command works on OBD trackers with data reading capabilities (FMX00Y). On other trackers it works only if connected with | + | <td style="text-align: left;">Command works on OBD trackers with data reading capabilities (FMX00Y). On other trackers it works only if connected with Bluetooth® OBD dongle. Command clears all vehicle stored fault codes.</td> |
<td style="text-align: center;">Yes</td> | <td style="text-align: center;">Yes</td> | ||
<td style="text-align: center;"> | <td style="text-align: center;"> | ||
Line 679: | Line 679: | ||
<tr> | <tr> | ||
<td style="text-align: center;">''getvin''</td> | <td style="text-align: center;">''getvin''</td> | ||
− | <td style="text-align: left;">Command works on OBD trackers with data reading capabilities (FMX00Y). On other trackers it works only if connected with | + | <td style="text-align: left;">Command works on OBD trackers with data reading capabilities (FMX00Y). On other trackers it works only if connected with Bluetooth® OBD dongle. Response displays vehicle VIN code.</td> |
<td style="text-align: center;">Yes</td> | <td style="text-align: center;">Yes</td> | ||
<td style="text-align: center;"> | <td style="text-align: center;"> |
Latest revision as of 15:17, 28 December 2023
Main Page > CAN Trackers & Adapters > FMM150 > FMM150 Manual > FMM150 SMS/GPRS CommandsCommands apply for these devices:
FMB001 FMB010 FMB002 FMB020 FMB003 FMB110 FMB120 FMB122 FMB125 FMB130 FMB202 FMB204 FMB208 FMB900 FMB920 FMB962 FMB964 FM3001 FMT100 FMC001 FMC003 FMC00A FMM001 FMM003 FMM00A FMC125 FMC130 FMC150 FMM125 FMM130 FMM150 FMU125 FMU126 FMU130 MTB100 FMB140
All commands are case sensitive. When user tries to send SMS/GPRS message to device that operates in Deep Sleep mode, it cannot arrive to it because the GSM/GPRS module is disabled most of the time. Device will receive the SMS message when it exits Deep Sleep mode, but GPRS commands will not be received after exiting Deep Sleep Mode.
If the device 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
GPRS commands require Codec 12 protocol.
To search for compatible products, Expand all content
Common commands
Command | Description | Response | HW Support | Parameter Group |
---|---|---|---|---|
getinfo | Device runtime system information. | Yes | Common commands | |
getver | Returns code version, device IMEI, modem app version, RTC time, Init time, Uptime and BT MAC address. | Yes | Common commands | |
getstatus | Modem Status information. | Yes | Common commands | |
getgps | Current GPS data, date and time. | Yes | Common commands | |
getio | Readout analog input,digital input and output. | Yes | Common commands | |
ggps | Returns location information with Google maps link. | Yes | Common commands | |
readio # | Returns IO status, # AVL ID. | Yes | Common commands | |
cpureset | Resets device | No | Common commands | |
fwstats | Get data about FW and restarts | Yes | Common commands | |
getrecord | SMS command initiates saving and sending of high priority record. | No | Common commands | |
getimeiccid # | Response is sent to SMS/GPRS command sender and also to GSM number provided. # - GSM number using international format e.g. 37069012345 | Yes | Common commands | |
getimsi | Sends the IMSI number of the SIM card inserted as a response to the sender.
|
Yes | Common commands | |
allver | Responds with information about hardware and firmware versions and storage space | Yes | Common commands | |
getparam # | Returns selected parameter value.
# - first ID value. # - second ID value. # - third ID value. SMS command is limited to 160 characters. |
Yes | Common commands | |
getparam #;#;… | ||||
setparam #:# | Sets selected parameter value [Parameter ID] : [New Parameter Value] ; [Parameter ID] : [New Parameter Value]... |
Yes | Common commands | |
setparam #:#;#:#;… | ||||
flush #,#,#,#,#,#,# | Redirects device to other server. 1.# - IMEI. |
Yes | Common commands | |
countrecs | Returns records number. | Yes | Common commands | |
web_connect | Forces device to connect to Fota WEB immediately. | Yes | Common commands | |
deleterecords | Delete all records from SD card. | Yes | Common commands | |
setdigout ## Y1 Y2 Z1 Z2 | Set digital output. 1.# – 0; 1 or ? (0 - OFF, 1 – ON, ? - Ignore) for DOUT1. |
Yes | Common commands | |
battery | Returns battery state info. | Yes | Common commands | |
wdlog | Returns all information about 'watch dogs' | Yes | Common commands | |
defaultcfg | Load default configuration. | Yes | Common commands | |
setkey # # | Add new or change current configuration keyword. If device is locked, keyword cannot be changed. 1.# - old keyword (if adding new keyword space). |
Yes | Common commands | |
delkey # | Remove existing keyword (If device is locked, keyword cannot be changed). # - old keyword. |
Yes | Common commands | |
bbread # | Return black box information (HEX value of event ID and HEX value of custom data field (optional)). # - returns entered number of latest events. When # is omitted the latest events are packed to single SMS. |
Yes | Common commands | |
bbinfo # | Return same information as bbread command but additional all events timestamp is written in HEX. # - returns entered number of latest events. When # is omitted the latest events are packed to single SMS. |
Yes | Common commands | |
sdformat | Format SD card. | Yes | Common commands |
Bluetooth® Commands
Command | Description | Response | HW Support | Parameter Group |
---|---|---|---|---|
btgetlist # | Returns requested Bluetooth® list. # - 0,1 or 2 (0 – Discovered, 1 – Paired, 2 – Connected, 3 – Discovered BT4/BLE devices). |
Yes | Bluetooth® commands | |
btscan | Starts Bluetooth® scan. | Yes | Bluetooth® commands | |
btvisible # | Sets Bluetooth® to visible with TMO. # - visibility TMO (from 1 to 255 seconds). |
Yes | Bluetooth® commands | |
btrelease # | Disconnects from current device and pauses auto connect functionality for TMO. # - none or TMO (from 1 to 255 seconds). |
Yes | Bluetooth® commands | |
btunpair # | Unpair Bluetooth® device. # - all, BT address (all – unpair all devices, BT address – unpair only specified MAC address). |
Yes | Bluetooth® commands |
Commands Related to Features
Command | Description | Response | HW Support | Parameter Group |
---|---|---|---|---|
fc_reset | Resets fuel consumption parameters. | Yes | Commands related to features | |
towingreact | Towing reactivation. | Yes | Commands related to features | |
auto_calibrate:get | Returns the state of calibration. | Yes | Commands related to features | |
odoset:# | Set total odometer value. # - new odometer value in km. |
Yes | Commands related to features | |
odoget | Display current odometer value. | Yes | Commands related to features | |
on_demand_trackingX |
X=0 – Stops Tracking on Demand functionality. |
Yes | Commands related to features |
OBD Commands
Command | Description | Response | HW Support | Parameter Group |
---|---|---|---|---|
obdinfo | Command works on OBD trackers with data reading capabilities (FMX00Y). On other trackers it works only if connected with Bluetooth® OBD dongle. Response displays all available information from OBD. | Yes | OBD Commands | |
faultcodes | Command works on OBD trackers with data reading capabilities (FMX00Y). On other trackers it works only if connected with Bluetooth® OBD dongle. Response displays all visible fault codes. | Yes | OBD Commands | |
cleardtc | Command works on OBD trackers with data reading capabilities (FMX00Y). On other trackers it works only if connected with Bluetooth® OBD dongle. Command clears all vehicle stored fault codes. | Yes | OBD Commands | |
getvin | Command works on OBD trackers with data reading capabilities (FMX00Y). On other trackers it works only if connected with Bluetooth® OBD dongle. Response displays vehicle VIN code. | Yes | OBD Commands |
CAN Adapter Commands
Command | Description | Response | HW Support | Parameter Group |
---|---|---|---|---|
lvcangetinfo | UniqID: 0031C22F41400014000535305039594D53, FWVer: 00010000, BLVer: 00000300, GIT-SHA1: 2490222, Rev: 0, FW date: 2022-05-16, Kernel: 473, Option: 01
Explanation of values: UniqID - contains the unique ID of the CAN MCU, generated from internal registers FWVer - CAN MCU firmware version. Example: 00010000here 00 - BRANCH version, 01 - MAJOR version, 00 - MINOR version, 00 - PATCH version |
Yes | CAN Adapter Commands | |
lvcanreset # | This command forces CAN adapter reset. Note: This command is supported from 03.25.16.Rev.281 firmware version. | Yes | CAN Adapter Commands | |
oeminfo |
Vehicle: Mazda/6 FL2/2019, GenTime: 1970-1-1 0:0:0, LS:0, DB:0, DBG:0, LE:41, FVer:1 | Yes |
FMBXXX FMB150
|
CAN Adapter Commands |
lvcancheck | This command reports CAN lines connection information. | Yes | FMM150 | CAN Adapter Commands |