Connection Priority

So i’ve been running with two different OBD devices pulled in to my port using a Y connector. One is doing CAN and one is connected using bluetooth to the OBD itself. My question is, which takes priority if I have some of the same values in my custom XML file.

I’ve noticed my speedometer’s needle wavering sometimes. Is this because it’s getting a value from both the CAN and OBD2 connections? I am wondering how I can make it so it will just use one or the other, without removing the shared item from the XML. I don’t want to remove it because sometimes bluetooth takes awhile to connect and I want the CAN to display the speed and other shared variables still when/if that happens.

When using multiple connections, there is no priority for either. All values are received and set to inputs without any knowledge of other connections.

This can cause value fighting, as each conncetion may give same input a slightly different value. Proper way to fix this is connection XML files. Remove all duplicates and you can make your own priority by choosing which connection handles what values.

1 Like

I figured as much. So it just alternates values it seems, because theres no priority. Got it