Gear Calculated Value

Hi @realdashdev

I seem to have broken my calculated gear, I checked the ratios in the garage and they still look ok. However I’m not getting the correct gear displayed. I have recently added a second connection, I have used the same XML file as my original connection

Connection 1: Bluetooth to wican
Connection 2: WiFi to ESP32

Both connections reading the CAN, ESP32 is performing UDS calls and pushing CAN messages over WiFi

Update: if I turn off my second connection the Gear Calc works as normal.

Thanks

Any ideas on this, is it not possible to have 2 connections one Bluetooth and one WiFi with the same XML?

Should be possible, need to create 2 connections and use the same XML file on both.

1 Like

Great, but when I do this my Calculated Gear stops working?

It sounds like your XML file is writing into the Gear input directly, overriding the calculated gear value.

I just added 4 new target ID’s for tyre pressures coming via a synthetic frame generated by my ESP32 this is sent over WiFi using the TCP connection and RealDash CAN protocol.

The XML is also used on the Bluetooth connection to my MeatPi WICan device.

The XML doesn’t have the target id 25.

@realdashdev do you have any other suggestions?

Ok so I fixed it, I split the xml file, the main xml file linked to the Bluetooth adaptor does the main can communication, the second xml file now just get the TPMS data from the wireless ESP connection.

Not sure what causes this maybe reading the same CAN messages twice on Bluetooth and WiFi somehow breaks or slows down the read rate?

Anyway I have a solution now that works.

1 Like