Help writing xml

Hello
I want help writing xml

id:0x5fa=00 00 00 00 02 Target 187 Interior Lights
id:0x5fa=00 00 00 00 03 Target 157 High Beam
id:0x5fa=00 00 00 00 06 Target 392 Front Fog Lights
id:0x5fa=00 00 00 00 0a Target 158 Rear Fog Lights

id:0x1f5= 00 00 00 00 14 00 00 00 Washer speed 1
id:0x1f5= 00 00 00 00 18 00 00 00 Washer speed 2
id:0x1f5= 00 00 00 00 1c 00 00 00 Washer speed 3

id:0x1c2= 00 00 01 Target 155 Parking Lights
id:0x1c2= 00 00 01 Byte has a zero value between (00–ff )

id:0x1f5= 00 00 00 00 00 00 00 (2e~fe) Target 810 Instrument Light Dimmer

What help do you need? Format, Structure ?

1 Like

I would like to add these values ​​to this file. Thank you. What is the best format?
Jaguxjdd.xml (2.6 KB)

:roll_eyes: :worried: :cry: no answers

<?xml version="1.0" encoding="utf-8"?>
<frame id="0x12d">
	<value targetId="167" offset="0" length="1" units="bit"></value> <!-- Ignition on -->
	<value targetId="179" offset="0" length="1" conversion="(V>>2 &amp; 1) * 100"></value> <!-- Traction control percentage -->
	<value targetId="100" offset="1" length="1"></value> <!-- Engine Load (Torque %) -->
	<value targetId="37" offset="4" length="1"conversion="v*65" ></value> <!-- RPM -->
</frame>

<frame id="0x44d">
	<value targetId="14" offset="6" length="1" units="C" conversion="V-40"></value> <!-- Coolant temp -->
	<value targetId="11" offset="2" length="1" units="kpa" conversion="(V*2+598)*0.1"></value> <!-- Barometer -->
	<value targetId="231" offset="3" length="1" conversion="(V &amp; 1) * 100"></value> <!-- Clutch pedal -->
	<value targetId="56" offset="3" length="1" units="bit" conversion="V>>3"></value> <!-- Engine running -->
	<value targetId="42" offset="5" length="1" conversion="V/2.56"></value> <!-- TPS  -->
	<value targetId="230" offset="6" length="1" conversion="(V>>1) &amp; 1"></value> <!-- Brake pedal -->
</frame>

<frame id="0x">	
   <value targetId="64" units="km/h" offset="4" length="1" conversion="v" ></value>	  <!-- Vehicle Speed-->    
</frame>

<frame id="0x0fc">	
    <value targetId="157" units="1/0" startbit="56" bitcount="1"></value>  <!-- High Beam -->
</frame>

<frame id="0x1f5">
	<value targetId="160" startbit="41" bitcount="1"></value>  <!-- Turn Signal Left -->
	<value targetId="161" startbit="40" bitcount="1"></value>  <!-- Turn Signal Right -->
	<value targetId="156" units="1/0" startbit="2" bitcount="1"></value>  <!-- Low Beam -->
	<value targetId="392" units="1/0" startbit="49" bitcount="1"></value>  <!-- Front Fog Lights -->
    <value targetId="158" units="1/0" startbit="8" bitcount="1"></value>  <!-- Rear Fog Lights -->
    <value targetId="155" units="1/0" startbit="36" bitcount="1"></value>  <!-- Parking Lights -->
	<value targetId="164" units="1/0" startbit="1" bitcount="1"></value>  <!-- Parking Brake -->
    <value targetId="170" offset="1" length="1" conversion="V/1.27"></value> <!-- Fuel Level -->
    <value targetId="12" units="v" offset="2" length="1" conversion="v/12" ></value>	  <!-- Battery Voltage-->    
</frame>

<frame id="0x545">
  <value targetId="65" offset="0" length="1" units="bit" conversion="V>>1"></value> <!-- Check engine light -->
  <value targetId="490" offset="1" length="2" conversion="V*0.1"></value> <!-- Fuel Flow -->
</frame>

</frame id="0x5fa">
  <value targetid="187" startbit="33" bitcount="1"></value> <!-- Interier Lights -->
  <value targetid="157" startbit="32" bitcount="1"></value> <!-- High Beams -->
  <value targetid="392" startbit="34" bitcount="1"></value> <!-- Front Fog Lights -->
  <value targetid="158" startbit="35" bitcount="1"></value> <!-- Rear Fog Lights -->
</frame>

</frtame id="0x1f5">
  <value name="Windscreen Wipers" startbit="32" bitcount="4" enum="20:Washer speed 1,24:Washer speed 2,28:Washer speed 3"></value> <!-- Wiper speed will need to add as a text gauge -->
</frame>

</frtame id="0x12c">
  <value targetid="155" startbit="16" bitcount="1"></value> <!-- Parking lights --> 
2 Likes