Multiplexed canbus signals

I believe the below description represents a mutiplexed canbus frame, where the first two byte values determine the content of the later bytes, is it possible to separate these in RealDash?

40A	

	note:
	- this id contains multiple data like odometer (total), outside temp, and the full
	car configuration
	- the first and second bytes ( byte 0 and 1 ) play a selector role
	and the rest of them ( bytes 2 .. 7 ) contain the actual payload

	3,4,5		odometer total 			byte[3]*256*256 + byte[4]*256 + byte[5]
							when byte[0] = 0xC0 and byte[1] = 0x01

	7		outside temp			byte[7] - 40
							when byte[0] = 0xC0 and byte[1] = 0x01

	2,3,4,5,6,7	VIN part 1			hex to ascii, when byte[0] == 0xC1 and byte[1] == 0x00
	2,3,4,5,6,7	VIN part 2			hex to ascii, when byte[0] == 0xC1 and byte[1] == 0x01
	2,3,4,5,6,6	VIN part 3			hex to ascii, when byte[0] == 0xC1 and byte[1] == 0x02

Yes, see “Composite ID support” on CAN XML documentation:

RealDash-extras/RealDash-CAN/realdash-can-description-file.md at master · janimm/RealDash-extras

1 Like