# Multiplexed canbus signals

**URL:** <https://forum.realdash.net/t/multiplexed-canbus-signals/7575>\
**Category:** RealDash CAN\
**Created:** [February 14, 2025, 2:58am UTC](https://forum.realdash.net/t/multiplexed-canbus-signals/7575 "2025-02-14T02:58:05Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmain](https://forum.realdash.net/user_avatar/forum.realdash.net/mmain/32/651_2.png) [@mmain](https://forum.realdash.net/u/mmain)\
**Post date:** [February 14, 2025, 2:58am UTC](https://forum.realdash.net/t/multiplexed-canbus-signals/7575/1 "2025-02-14T02:58:05Z")

</div>

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?

```auto
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

```

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [February 14, 2025, 7:58am UTC](https://forum.realdash.net/t/multiplexed-canbus-signals/7575/2 "2025-02-14T07:58:50Z")

</div>

> [@mmain](#):
>
> is it possible to separate these in RealDash?

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

[RealDash-extras/RealDash-CAN/realdash-can-description-file.md at master · janimm/RealDash-extras](https://github.com/janimm/RealDash-extras/blob/master/RealDash-CAN/realdash-can-description-file.md)

---

<div class="post-metadata">

**Author:** ![aaronjaunt](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/34f0e0/32.png) [@aaronjaunt](https://forum.realdash.net/u/aaronjaunt)\
**Post date:** [September 12, 2025, 10:09am UTC](https://forum.realdash.net/t/multiplexed-canbus-signals/7575/3 "2025-09-12T10:09:01Z")

</div>

Could this format be used for a custom composite ID with a length of 3 bits?

 ![image](https://forum.realdash.net/uploads/default/original/2X/d/de14b36f7c1c35e64fe21a649636cdebbbe324b6.png)

---

<div class="post-metadata">

**Author:** ![aaronjaunt](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/34f0e0/32.png) [@aaronjaunt](https://forum.realdash.net/u/aaronjaunt)\
**Post date:** [September 12, 2025, 10:23am UTC](https://forum.realdash.net/t/multiplexed-canbus-signals/7575/4 "2025-09-12T10:23:29Z")

</div>

Ah, yes I got it to work by setting COMPOSITE\_ID\_LENGTH to 1, and setting the COMPOSITE\_ID to 16 (0x10)

Like this:

---

<div class="post-metadata">

**Author:** ![aaronjaunt](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/34f0e0/32.png) [@aaronjaunt](https://forum.realdash.net/u/aaronjaunt)\
**Post date:** [September 30, 2025, 3:42am UTC](https://forum.realdash.net/t/multiplexed-canbus-signals/7575/5 "2025-09-30T03:42:06Z")

</div>

@realdashdev My fix has not worked for all circumstances, as sometimes the first byte is not 0x10, but 0x18 or some other value, since the index value is only contained in the first 3 bits of the byte.

Is there a way you could update the format of COMPOSITE\_ID\_LENGTH message setup so that it could take a bit value rather than a byte value?

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [October 3, 2025, 6:41am UTC](https://forum.realdash.net/t/multiplexed-canbus-signals/7575/6 "2025-10-03T06:41:03Z")

</div>

> [@aaronjaunt](#):
>
> Is there a way you could update the format of COMPOSITE\_ID\_LENGTH message setup so that it could take a bit value rather than a byte value?

Never heard of a CAN device that uses the sub-byte composite ID. What device is it?

---

<div class="post-metadata">

**Author:** ![aaronjaunt](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/34f0e0/32.png) [@aaronjaunt](https://forum.realdash.net/u/aaronjaunt)\
**Post date:** [October 8, 2025, 7:56am UTC](https://forum.realdash.net/t/multiplexed-canbus-signals/7575/7 "2025-10-08T07:56:47Z")

</div>

A Tesla model 3 drive unit.

The other controllers Im using can handle the message format, as their software is structured to accept the index from start to end bit.

Could you implement similar? It would be great 👍

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [October 8, 2025, 8:17am UTC](https://forum.realdash.net/t/multiplexed-canbus-signals/7575/8 "2025-10-08T08:17:44Z")

</div>

Simplest implementation would be adding optional bitmask for the composite id, for example:

```auto
defining composite id for frame 0x1234 as 0xff, offset 0, bytes 1
<frame id="0x1234:0xff,0,1">

We could add optional bitmask for composite id
<frame id="0x1234:0xff,0,1,0x0f">

The mask of 0x0f in this example would read only 4 bits on the composite id.

```

Do you think this would work on your use-cases?

---

<div class="post-metadata">

**Author:** ![aaronjaunt](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/34f0e0/32.png) [@aaronjaunt](https://forum.realdash.net/u/aaronjaunt)\
**Post date:** [October 8, 2025, 8:40am UTC](https://forum.realdash.net/t/multiplexed-canbus-signals/7575/9 "2025-10-08T08:40:29Z")

</div>

Yes i beleive that would work! In my case I would use 0x07 i belive.

Can i try this now or does it require an update of the software?

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [October 9, 2025, 7:09am UTC](https://forum.realdash.net/t/multiplexed-canbus-signals/7575/10 "2025-10-09T07:09:56Z")

</div>

> [@aaronjaunt](#):
>
> Can i try this now or does it require an update of the software?

0x07 would mask 3 least significant bits from the composite id value from CAN frame.

Update is required. I can make you a test Android APK if you are willing to test before the release. If so, send me an email to [contact@realdash.net](mailto:contact@realdash.net) and I will share a link to pre-release APK.
