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?
Bluetooth data rate with ShadowDash
- Dron_Gus
- contributor
- Posts: 460
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: Bluetooth data rate
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.
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.
- AndreyB
- Site Admin
- Posts: 14381
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Bluetooth data rate with ShadowDash
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.
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.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- Dron_Gus
- contributor
- Posts: 460
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: Bluetooth data rate with ShadowDash
MRE + JDY33 BT.
Each update is 504 + 261 bytes.
Each update is 504 + 261 bytes.
- Attachments
-
- Screenshot from 2022-10-10 22-05-00.png (64.28 KiB) Viewed 3632 times
Re: Bluetooth data rate with ShadowDash
roughly one or two updates per second at 9600kbps?
- Dron_Gus
- contributor
- Posts: 460
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: Bluetooth data rate with ShadowDash
- Attachments
-
- Screenshot from 2022-10-10 23-53-35.png (63.25 KiB) Viewed 3622 times