Page 1 of 1

Bluetooth data rate with ShadowDash

Posted: Sat Oct 08, 2022 7:48 am
by tmbryhn
Just did some more testing connecting my ECU running Proteus firmware with ShadowDash on my android phone as well as TunerStudio.

I have a regular HC05 module connected to the UART port. BT module has been configured with baud rate=115200.
Current data rate logged in TS is no higher than 5 reads/sec. With MS3 and the exact same module I get close to 30 reads/sec.

Is the low data rate due to the fact that the telemetry stream include a large quantity of variables? Floats vs. int?

Is there a way to improve the data rate for consumers wanting to run a digital dash with their phones or tablets?
Would it be possible to increase refresh rate if there was a way to define which variables are being sent over UART?

Re: Bluetooth data rate

Posted: Sat Oct 08, 2022 10:29 am
by Dron_Gus
Yes.
TS has protocol extension that allows TS to maintain list of variables that it needs.
This can increase data refresh rate over slow interfaces.
I'm going to look at this someday.

Re: Bluetooth data rate with ShadowDash

Posted: Sat Oct 08, 2022 5:27 pm
by AndreyB
Can you please help by comparing ShadowDash data rate to TunerStudio data rate?

Overall data rate is a combination of rusEFI and frontend software. Depending on what gauges you have opened or what fields you log data rate would be different.

One day someone should start data rate investigation by looking into the logs and checking what ranges of the overall output each specific software is requesting. And yes, as Dron say - we do not support (faster?) stream protocol at the moment.

Re: Bluetooth data rate with ShadowDash

Posted: Mon Oct 10, 2022 7:07 pm
by Dron_Gus
MRE + JDY33 BT. :(
Each update is 504 + 261 bytes.

Re: Bluetooth data rate with ShadowDash

Posted: Mon Oct 10, 2022 8:06 pm
by puff
roughly one or two updates per second at 9600kbps?

Re: Bluetooth data rate with ShadowDash

Posted: Mon Oct 10, 2022 8:53 pm
by Dron_Gus
puff wrote:
Mon Oct 10, 2022 8:06 pm
roughly one or two updates per second at 9600kbps?