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

UART command codes #39

Open
zzzorgo opened this issue Mar 24, 2024 · 1 comment
Open

UART command codes #39

zzzorgo opened this issue Mar 24, 2024 · 1 comment

Comments

@zzzorgo
Copy link

zzzorgo commented Mar 24, 2024

Hello @Imaginous,

I am working on a hardware project for my bike which is generally just physical controls for the bike (since the bike lacks them). But in order to complete it I need to somehow get command codes to control the desired characteristic over bluetooth. I saw several other open source projects with some of the command I need like locking, unlocking and controlling the lights. What I am missing is two things:

  1. Changing the assistance level (aka "Adaptive", "Eco", "Off" in the official app). I assume they are some kind of pressets of several motor settings but the main question is what are the values and what exact UART codes should I use to choose between them.
  2. Switching off and on the wireless charger (C4 has it).

I found several other open source projects with some commands like this one https://github.com/runerune/BroncoUnleashed/blob/master/app/src/main/java/bike/hackboy/bronco/data/Command.java but the two things I mentioned above are still missing.

I would really appreciate any help!

@Imaginous
Copy link
Owner

I have more information, but not the latest information.
I have signed a DND agreement for all ASI information and therefore I can't share it.
Since I own a C1+ I don't have any hands on experience with the C4.

Just some hints:

  • Decompile the Android Cowboy app APK.
  • Search for the bac500 motor controller documentation.

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