Of course! I think I might have posted some of this elsewhere on the forums but I can't remember where right now. Eventually the app will be open source but for now I can share just the relevant Bluetooth interface. This should be enough to grab service & characteristic IDs from plus shows how to parse the actual binary data. I included a bunch of the different characteristics just to make it simple, the things you care about are probably:Thank you brongle for awesome work!
I tested it out on iPhone, works really well on iOS. Nice to see the diagnostics information.
I'm wondering would you be willing to share the BT protocol?
I'd like to create simple ESP32 thingy with a small screen.
It would need only the gear and state of charge.
For hard enduro having a small inexpensive screen would be preferred.
- getVehiclePin, still not entirely sure why sometimes the BT interface will just connect seemingly without a pin, but if you end up needing the pin this is how to generate it.
- BikeStatusBitsData and the related functions, this just holds bit-flags for various things but is required to determine the actual bike mode (neutral, off, charging).
- LiveMapData holds the currently selected map number.
- BatterySOCData has an SOC field which is a straightforward percentage.
Do you mean on the landscape/dashboard screen? There used to be one on the right side but truthfully I don't know where it went...Add an odometer to the main screen. If it is possible to display information on map settings.