Jump to content

FMB lvcansetting: Difference between revisions

From Teltonika Telematics Wiki
No edit summary
No edit summary
Line 16: Line 16:


===Examples===  
===Examples===  
To configure Fuel Consumed Counted, send this command:
To configure Fuel Consumed Counted, send this command: <br>
<SMSlogin><space><SMSpassword><space>lvcansetting:2,x
<SMSlogin><space><SMSpassword><space>lvcansetting:2,x<br>
x - (liters x 10) (0-2 147 483 647)l
 
Example: asd 123 lvcansetting:2,101010
x - (liters x 10) (0-2 147 483 647)l <br>
Will set fuel consumed counted to 10101 litters
'''Example:''' asd 123 lvcansetting:2,101010<br>
Will set fuel consumed counted to 10101 litters.


To configure Total mileage Counted, send this command:
To configure Total mileage Counted, send this command:
<SMSlogin><space><SMSpassword><space>lvcansetting:1,y
<SMSlogin><space><SMSpassword><space>lvcansetting:1,y<br>


y - vehicle (meters) (0–858 993 455) (step – 5)
y - vehicle (meters) (0–858 993 455) (step – 5)<br>
Example: asd 123 lvcansetting:1,100005
'''Example:''' asd 123 lvcansetting:1,100005<br>
Will set total mileage counted to 100.005 km
Will set total mileage counted to 100.005 km. Step 5 means that last number must be 0 or 5.  
Step 5 means that last number must be 0 or 5.  





Revision as of 14:42, 23 October 2025

From 04.01.00.Rev.xx Version

Command is available starting from firmware FMB.Ver.04.01.00.Rev.xx and newer.

lvcansetting command's update: lvcansetting:x,y x - index of setting parameter, y - value. Possible X indexes:

  • 0 - setting Total engine work time Counted (minutes) (0–71 582 788)
  • 1 - setting Total mileage Counted (meters) (0–858 993 455) (step – 5)
  • 2 - setting Total Fuel Consumed Counted (liters x 10) (0-2 147 483 647)
  • 3 - setting Total CNG use Counted (kg) (0-214 748 364)
  • 8 - setting HV battery consumed energy (kWh) (0-4294967295)
  • 9 - setting HV battery recuperated energy (kWh) (0-4294967295)

Examples

To configure Fuel Consumed Counted, send this command:
<SMSlogin><space><SMSpassword><space>lvcansetting:2,x

x - (liters x 10) (0-2 147 483 647)l
Example: asd 123 lvcansetting:2,101010
Will set fuel consumed counted to 10101 litters.

To configure Total mileage Counted, send this command: <SMSlogin><space><SMSpassword><space>lvcansetting:1,y

y - vehicle (meters) (0–858 993 455) (step – 5)
Example: asd 123 lvcansetting:1,100005
Will set total mileage counted to 100.005 km. Step 5 means that last number must be 0 or 5.


From 03.25.16.Rev.102 version

From 03.25.16.Rev.102 lvcansetting SMS command can only be set by using DEC format instead of HEX format.
Below are provided examples of possible SMS commands and responses:

1st example:
Command:
"lvcansetting:1,44400" will change total mileage of the vehicle to 44400 km.

Answer:
"Setting OK: 44400"

2nd example:
Command:
"lvcansetting:1,68719476721" setting total mileage to 68719476721 km.

Answer:
"Setting Error" will get when values are incorrect (exceeds value limit).

From 03.25.15.Rev.145 till 03.25.16.Rev.102 version

Below are provided examples of possible SMS commands and responses:

1st example:
Command:
"lvcansetting:1,AD70" will change total mileage of the vehicle (km). AD70 converted from HEX to DEC is 44400.

Answer:
"Setting OK: AD70"

2nd example:
Command:
"lvcansetting:1,FFFFFFFF1" setting total mileage to 68719476721 km. FFFFFFFF1 converted from HEX to DEC is 68719476721.

Answer:
"Setting Error" will get when values are incorrect (exceeds value limit).