starryalley / CSC_BLE_Bridge

Android app that bridges ANT+ Cycling Speed/Cadence/HR sensors as Bluetooth LE sensors
MIT License
65 stars 17 forks source link

Do you have apk or release available? #12

Closed pmoralesp closed 3 years ago

pmoralesp commented 3 years ago

Thank you for your work. Do you have apk available or need to compile by myself?

I am linux user but have a Window partition just for zwift. Some days ago I tried Zwift on Lutris and works flawless but my only concern I can't bridge my Garmin HRM-TRI (Ant+) to zwfit (others sensors has bluetooth so works fine throug zwift companion). I would like to test my setup and give some feedback/PR.

larryb84 commented 3 years ago

I would also like to volunteer to beta test if you have an APK available? Also have a legacy Garmin ANT+ HR Monitor and a Galaxy Note 9 that supports ANT+. Like you, would like to get the HR Monitor working on Zwift without the expense of a new HR monitor or bridging device such as the Cable. Thanks for your awesome work trying to solve this. Larry

starryalley commented 3 years ago

Thanks @pmoralesp . I'm also a linux user but I never know Zwift on Lutris! Very interesting to know it!

@pmoralesp @larryb84 I've just included a release apk here. Feel free to try it out: https://github.com/starryalley/CSC_BLE_Bridge/tree/master/app/release

I'd like to highlight the great work from @pinkemma who added heart rate sensor support into this app. My bluetooth heart rate sensor broke a while ago so I've been using this app to bridge my Garmin HRM-Run (Ant+ only) when zwifting!

larryb84 commented 3 years ago

Thanks @starryalley, @pinkemma

I just downloaded the APK to my Galaxy Note 9 and successfully managed to bridge my Garmin HRM2 Ant+ to my iPad running zwift πŸ‘πŸ‘

The connection was very stable with no latency issues so great work. I did have to manually search and pair the iPad to my Note 9 on Bluetooth first, which took me a few tries, but after a couple of goes it showed up on the Zwift pairing screen.

Is the manual pairing necessary or will the app cause the BLE signal to broadcast automatically?

Thanks again for making this awesome solution πŸ‘

Larry

starryalley commented 3 years ago

Thanks for confirming this. For now it is necessary to manually pair each time because the BLE device name changes every time this app starts. See https://github.com/starryalley/CSC_BLE_Bridge/issues/13

IzzySoft commented 3 years ago

May I chime in to (hopefully) make your live a little easier? Thanks to the APK now being available in the repo here, I've added it to my F-Droid repo – it should show up here with the next regular sync in about 18.5h (shortly before 8pm CET/UTC+1). You all can then use the F-Droid client and add my repo to have easy access (not only) to this app, and automatically get updates etc.

The latter requires a little update here, though: although being in development for a while now, it still identifies as "very first version":

package: name='idv.markkuo.cscblebridge' versionCode='1' versionName='1.0' compileSdkVersion='30' compileSdkVersionCodename='11'

Let's ignore the last 2 values, and the first one is perfect of course. versionName is what is presented to the user and should help them to tell you which version they have an issue with (or want an improvement for), so you probably want to update that with each release. The crucial value however is versionCode – as that is what Android uses to tell versions apart. Given 2 packages A and B with the same packageName, and A being installed on the user's device:

So in order for users to be notified, always increase versionCode whenever you make a new release :smile:

While my updater can pick the APK from inside your repo, it's not the ideal place to put it: Each contributor, when forking/cloning, would have to take the entire history of that binary along. Better start tagging releases and attach the APK there.

Oh: and if you wish, I've got a nice badge here to put into your Readme and point to above link in my repo :smiley:

[<img src="https://gitlab.com/IzzyOnDroid/repo/-/raw/master/assets/IzzyOnDroid.png" width="250">](https://apt.izzysoft.de/fdroid/index/apk/idv.markkuo.cscblebridge)

PS: Should you want your app listed with the F-Droid main repo, which is a bit more prestiguous, I can help you with that, too. Disclosure: I'm one of the F-Droid maintainers.

starryalley commented 3 years ago

Thanks @IzzySoft . I've added a release tag and released v1.1 there in the repo. I've also added the badge in the README, removed the apk in the repo.

IzzySoft commented 3 years ago

Thanks, wonderful! I've updated the metadata here and manually triggered the updater to see if it's found – worked out perfectly, update should show up in about 2.5h with the next sync. And thanks for adding the badge!