scooterhacking / NinebotCrypto

An implementation of the NinebotCrypto protocol by majsi.
GNU Affero General Public License v3.0
42 stars 15 forks source link

Thanks and referall to lib for new BLE firmware #8

Closed dnandha closed 11 months ago

dnandha commented 2 years ago

Hey guys, just wanted to leave props for sharing all of this information!

I have ported the lib to Python and integrated it into a command line utility for authorization with the legacy Nb and the new Mi EC protocol. It all works, tested on my own scooter.

Check it out and feel free to adapt SHCU for newer BLE firmware support: https://github.com/dnandha/miauth

robbiet480 commented 2 years ago

Excellent job @dnandha, thanks!

RiccardoCestaro commented 2 years ago

Are you talking about protocol 55AB for scooters? Does anyone know how it works?

dnandha commented 2 years ago

@RiccardoCestaro Yes I am.

The repo contains Python and Java libraries for 55AB. Also in-depth description / explanation of protocol is here: https://github.com/dnandha/miauth/tree/main/doc.