Project to enable Bosch + Garmin integration

⚡ EMTB Pro Go Pro — Living Intelligence Reports, exclusive discounts & ad-free Up to 25% off Peaty's, PEMBREE, Magicshine & more · Ad-free browsing · Pro badge See the deals →
Thanks @saitrix - that confirms that the cx sends the same info as the sx, including the battery you've got. Just need to understand how it handles the powermore to deal with that, then I'm good to go for a fancier range estimate.
 
@HexagonSun - my bike is just with the mechanic at the moment but I've downloaded the new app and also flashed the new SmartBridge code.

It might be helpful for N00b Coders like me to have a few bullets on the quickest way to upload the SmartBridge code.

In case it is helpful to anyone - I took the original ReadMe for Ant+ and
Steps 1-7 - skipped. I assumed that the prior downloads would all work and the Ant+ tweak to "manifest" would still hold
Step 8 - downloaded the latest zip from GitHub. I replaced with the latest 'xiao_ble_sense_s332' - I thought about checking each line item to see if it had been updated but went for just fully replacing each prior file with the latest version from Github extract
Step 9 - I deleted/removed the prior 'SmartBridge Zephyr' application to then re-do this step but pointing to the latest folder from the latest extract from Github.
Steps 10-13 - repeated as described in Readme.

I now need to test out the new version. Depending on the number of replies after this post - I made just edit this one with the results of Ant+ LEV profile testing or I will create a new post.

Thanks again for all the hard work that has gone in to this.
 
I'm away for a couple of days so will update github when I get back to a laptop and make sure there's a "how to update" section for noobs. In summary you're on the right track - there's no need to re-download NCS or ANT+ libraries. The xiao_ble_sense_s332 folder is also unchanged so you just need to replace the files in SmartBridge Zephyr with the new ones then rebuild in NCS.
 
Can I suggest adding a table to the Github Wiki with the available sensors that you can add to the data screens. I think I have got them all but please correct the information if I am wrong / missing any fields


FunctionGarmin CategoryGarmin Sensor NameSensor Type
Rider pedalling power (watts)PowerPowerANT+ Power Meter
Pedal RPMPowerCadenceANT+ Power Meter
Rider vs motor contribution (SmartBridge repurposed)PowerBalanceANT+ Power Meter
Wheel-rotation-based speedSpeedSpeedANT+ LEV
Wheel-rotation-based distance (odometer)DistanceDistanceANT+ LEV
Bosch battery charge (%)E-BikeE-Bike BatteryANT+ LEV
Estimated remaining distanceE-BikeTravel RangeANT+ LEV
Current assist mode (Eco / Tour / EMTB / Turbo)E-BikeAssist ModeANT+ LEV
 
Last edited:
Android app - I've just tried switching SmartBridge to Transport Mode and it's not switching for me. Can someone else confirm their switch in and out of Transport Mode is working? This might just be my version, so wanting to confirm
 
Last edited:
Android app - I've just tried switching SmartBridge to Transport Mode and it's not switching for me. Can someone else confirm their switch in and out of Transport Mode is working? This might just be my version, so wanting to confirm
Sorry - it's not just you! Looks like I introduced a bug in the latest version. It's a simple fix that I'll patch and re-release when I get back, but if you want to do it directly go to the SmartBridge Zephyr/src folder and open main.c in VSCode - go to line 241:

if (len < 8) return len;

Change the 8 to a 6, rebuild the project and drop the uf2 file onto your board - should sort it.
 
Keep reading
    Browse all

    Similar Threads

    Community Stats

    Since 2018
    671K
    Messages
    41,322
    Members
    Join 30,000+ Riders, it's free!
    Back
    Top