Crate m365

source · []

Re-exports

pub use mi_crypto::AuthToken;

Modules

Structs

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

Represents decrypted payload received from the scooter. Payload also have methods which helps to read each value encoded in payload

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

Enums