Fuel and failure to read the value correctly

<frame id="0x1F5" endianness="big">

    <!-- Fuel Gauge -->
    <value targetId="52"
           startbit="0"
           bitcount="8"
           conversion="V"
           min="0"
           max="254">
    </value>

    <!-- Fuel Warning -->
    <value targetId="69"
           startbit="0"
           bitcount="8"
           conversion="V==255">
    </value>

</frame>

Is this line correct?
00 → Meter empty
7F → Approximately half tank
FF → Full
Less than 15 → Warning light on

No, its not correct.

  • targetId:s are wrong, see RealDash | Manuals | Target Identifiers
  • min and max are not supported attributes
  • conversion=“V” does nothing
  • warning should have units=“bit” and conversion=“V>15”
1 Like