pub enum Command {
}Expand description
A command the client may send.
Variants§
GetFirmwareVersion
Request the firmware version string.
GetBattery
Request the battery percentage.
GetSerialNumber
Request the serial number.
TimeSync(u32)
Set the device clock (Unix seconds). Afterwards packet device times are Unix seconds.
GetDeviceName
Request the advertised device name.
GetDeviceTime
Request the device clock.
GetDeviceId
Request the device identifier (the Bluetooth address as text).
HeartRatePeriodic(bool)
Enable or disable periodic heart-rate/SpO2 reporting (1 Hz when enabled, every 5 s otherwise).
OnConnected
Session-start notice (0e 00), part of the standard start sequence.
StreamControl
Start or stop streaming. mask is sent as-is; 0xff (all streams) is the only verified value.
SetPromptVolume(u8)
Set the volume of the band’s spoken prompts (0 = silent).
GetImuCalibration
Request the IMU calibration report.
StartSession
Session-running notice (0e 02), part of the standard start sequence. Without it the band
powers itself off 10 minutes after streaming starts.
EndSession
Session-end notice (0e 03), part of the standard stop sequence; effect not characterized.