Crate m365

Source

Re-exports§

pub use mi_crypto::AuthToken;

Modules§

consts
mi_crypto
protocol

Structs§

BatteryInfo
ConnectionHelper
GeneralInfo
LoginRequest
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
MotorInfo
Payload
Represents decrypted payload received from the scooter. Payload also have methods which helps to read each value encoded in payload
RegistrationRequest
ScooterScanner
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
TrackedDevice

Enums§

RegistrationError
ScannerError
ScannerEvent
TailLight