R&D department
2018/08/01
•
“Error: unknown parameter”
- Group name is misspelled, Subgroup number incorrect or invalid value was
provided for one of the parameters.
•
“
Error: LCV auto select still in progress
” - The device is currently in the progress of LCV auto select, during which
the user cannot set a LCV group or enable IO parameters.
•
“
Wrong CAN configuration
” - an incompatible LCV mode is configured on a CAN interface.
•
“
Configured group: Tractor2, Error: Not enough I/O slots
” - If a LCV group contains more than 80 IO elements, it
will not be enabled .
1.1.39
getlog/stoplog – get device log remotely
Parameter
Description
IP
32-bit number, commonly known as an Internet Protocol address (xxx.xxx.xxx.xxx).
Port
16-bit number, commonly known as the port number (xxxxx).
Mode
1 – send full log to server. All other values reserved for future functionalities.
Time
Time period for log sending. Defined in minutes. Range from 1 to 60 minutes.
SMS structure:
pass getlog <ip>,<port>,<mode>,<Time>
Example:
password getlog 100.101.102.103,1111,1,15
When device gets this command, it should open a link with defined server and send log according to defined
mode. All other FM device processes (e.g. records sending, peripheral device communication) should keep working. Only
device restart can stop log data sending process.
If data sending is disabled by configuration, log will not be sent and the device's response will be: "Data sending
is disabled."
Log will be sent as ASCII. Log starts from device type [HCV/LCV/PRO], selected mode, defined time, bootloader
version, firmware version, hardware version, GSM signal level and Voltage status: 0 –lower than 8 Volts (bad), 1 –higher
than 8 Volts (OK) and device IMEI.
Getlog
This command initiates logging process.
Example:
FMTco4 HCV BT, 100.101.102.103:1111, mode=1, time=3min; version:472C,00.02.25.21,431,26,1;
imei:868324027387005
Responses:
•
If getlog SMS format is correct, the device will respond:
getlog ok
•
If getlog SMS format is incorrect, the device will respond:
getlog data incorrect
•
If logging proces is already running, the device will respond:
getlog already running
Stoplog
This SMS command stops log sending to the server.
Example:
pass stoplog
32