Skip to content
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

HR Sensor not detected #23

Closed
CS-Biker opened this issue Jan 9, 2022 · 8 comments
Closed

HR Sensor not detected #23

CS-Biker opened this issue Jan 9, 2022 · 8 comments

Comments

@CS-Biker
Copy link

CS-Biker commented Jan 9, 2022

Hello.
The CSC BLE Bridge does not recognize my heart rate Sensor, allthough all required dependencies (ANT Radio Service and ANT+ Plugins Service) are installed.
Other bike apps (e.g. Jepster) immediately show the transferred heart rate. So ANT+ is basically working.
Any ideas how to solve this problem?
I'm trying to run the app on a Samsung S10 with Android 11.
Any help is appreciated.
With kind regards

@starryalley
Copy link
Owner

Hi @CS-Biker thanks for reporting the issue.

Is your heart rate sensor listed in readme ? I see Samsung S10 has complete ANT+ support so this app should work. Any chance you have other ANT+ sensors (not limited to heart rate sensors) to test with?

Also I've just released v1.3 which has some fix by a great contributor. Maybe you can test again with v1.3. Thank you.

@CS-Biker
Copy link
Author

Hi @starryalley,
The heart rate I am trying to transmit is from a Fenix 5, which is in the list of supported devices.
I've also installed version 1.3 of the app and tested with a Garmin HRM Tri chest belt and again no sensor is found by the CSC BLE bridge. I double checked that all required permissions are granted to the app.
Both ANT+ sensors are found by another app on the same smartphone.
Any ideas of how to nail down the root cause of this app behaviour and make it work will be appreciated.
Cheers, Chris

@starryalley
Copy link
Owner

Thanks for the info. However it will be a tricky one as I don't have the exact phone as you have. However I just tested with my Fenix 6 broadcasting heart rate to my Samsung S8 running version 1.3 of this app and it worked right away and Zwift can read my wrist heart rate from Fenix 6.

The other app can read from your 2 ANT+ sensors did indicate there could be something wrong with this app. Any chance that you can start the app, and try what you tried again for 1-3min, and then do a full bug report from Settings->Developer options->Bug report and attach here? Thank you.

@CS-Biker
Copy link
Author

CS-Biker commented Jan 18, 2022 via email

@starryalley
Copy link
Owner

Hi @CS-Biker that makes sense. Can you please upload to your google drive or dropbox or similar free service, and share via link and send the link privately to me (starryalley at gmail dot com) ? Once I download it I'll let you know so you can delete it online permanently. Thank you.

@starryalley
Copy link
Owner

Hi @CS-Biker I'm able to download your bugreport zip and this is what I found:

01-18 11:00:18.889 10483 30862 30862 E AntPluginPcc: BBD30800: Unable to configure logging, plugins package not found: android.content.pm.PackageManager$NameNotFoundException: Application package com.dsi.ant.plugins.antplus not found
...
01-18 11:00:18.899 10483 30862 30862 E AntPluginPcc: BBD30800: Binding to plugin failed, not installed
...
01-18 11:00:18.948 10483 30862 30862 W AntPluginPcc: BBD30800: RequestAccess failed: Missing Dependency: com.dsi.ant.plugins.antplus not installed.
01-18 11:00:18.949 10483 30862 30862 W AntDeviceManager: Ant Device State changed: DEAD, resultCode: DEPENDENCY_NOT_INSTALLED

Since I'm sure you must have already installed all the ANT+ dependencies, it could be that CSC BLE Bridge app can't find it even if it is installed. Then I came across this article where the author fixed a similar issue

It could be due to Android 11 package visibility filtering

I've built an apk (please unzip first) with the proposed fix from the author. Can you give it a try? Thank you.
app-release.apk.zip

@CS-Biker
Copy link
Author

CS-Biker commented Jan 19, 2022 via email

@starryalley
Copy link
Owner

Glad to hear that! Also thank you for helping me debug this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants