-
Notifications
You must be signed in to change notification settings - Fork 609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cheap Android Tablets & Multiple BLE connections performance #1036
Comments
Hi @graphefruit As a step one, I'd suggest try calling https://github.com/don/cordova-plugin-ble-central?tab=readme-ov-file#requestconnectionpriority with await ble.withPromises.requestConnectionPriority(device_id, "high"); |
Hey @peitschie,
I couldn't do the requestConnectionPriority before connecting, it just worked when connected. The feedback of the user was that it doesn't helped sadly. |
Adding to this, this are the reported timestamps of the values of the scale.
There are realy huge jumps. |
Hrm! Are you able to get any information from the Bluetooth device about it's connection parameters (connection intervals, slave latency, etc)? The other thing I'd suggest is use nrf Connect to try connecting, and look at the debug logs from there to see if there's any connection interval info we can see. There's very little that plugin does here that might contribute to latency, which makes me wonder if what you are seeing is a performance problem with the tablet manufacturer's Bluetooth stack, or potentially even a limitation of the BLE radio the tablet uses (perhaps it's not able to handle the concurrent packets efficiently). |
Thanks @peitschie, But I also think its a total limitation of the BLE radio/stack. The issue rather on my end is: People are having a tablet, using the Beanconqueror App and getting back to me because they have BLE-issues, and I actually can't give a good feedback like: you need a minimum requirement of X tablet |
Hey @peitschie long time ago to come back here - sorry it took a while to get the feedback. Test device: Lenovo M8 tablet He did two tests scenarios:
Second test:
So somehow things behave different on the Lenovo. Thanks so far for your help! |
Hello there,
some days ago I've recieved an bug ticket from a user with an Tablet:
Lenovo Tab M8 (3rd Gen) 8"
He told me that when he connects a bluetooth-scale, the receiving data are working flawless.
When he connects a bluetooth-pressure, the receiving data are working flawless.
But when he connects the bluetooth scale, aswell as the bluetooth pressure device, the receiving data has a high latency lag.
The data from the pressure sensor aswell as from the scale are reported within 100ms each.
When both are connected, the data transmittings take like 1.5s to 2s for each value in worst case.
Another tablet e.g: Samsung Tab A 10.1 (2016) does not have any issues anymore.
Therefore for me its looking like somehow a bluetooth chip usage issues even when BT 5.0 is stated.
Do you know this issue, do you have ideas how to handle it maybe?
Thanks so far for your time!
Have a great cup of coffee :)
Lars
The text was updated successfully, but these errors were encountered: