Re-exports§
pub use mi_crypto::AuthToken;
Modules§
Structs§
- Battery
Info - Connection
Helper - General
Info - Login
Request - Login to scooter. All communication over bluetooth is encrypted with special keys, to retrieve these keys you need first to login using auth token, which you get using RegistrationRequest. If everything goes right, you will receive MiSession which allows you to send commands and read read responses back from the scooter
- MiSession
- Motor
Info - Payload
- Represents decrypted payload received from the scooter. Payload also have methods which helps to read each value encoded in payload
- Registration
Request - Scooter
Scanner - Use scooter scanner to find scooter. By default all Xiaomi scooter names start with MIScooter and then have few digits after name. If you already know bluetooth mac address of scooter you wan’t to connect, you can skip using this scanner
- Tracked
Device