pub enum ControlCommand {
Show 17 variants
ContinuousRealTimeData,
StopRealTimeData,
InformDeviceConnected,
AskForDeviceIdentifier,
AskForStorageDataSegmentAmount(u8),
AskForStorageDataLength(u8, u8),
AskForStorageStartTime(u8, u8),
AskForStorageData(u8, u8),
StopStorageData,
AskForUserInformation(u8),
AskWhetherSupportPI,
AskForUserAmount,
DeleteStorageData(u8, u8),
AskForStorageDataIdentifiers,
SynchronizeDeviceTime(u8, u8, u8),
SynchronizeDeviceDate(u8, u8, u8, u8, u8),
AskForStorageDataIdentifiers2(u8, u8),
}
Expand description
Control command
Variants
ContinuousRealTimeData
Ask device to start sending real time data
StopRealTimeData
Stop sending real time data
InformDeviceConnected
Inform the device that it is still connected
AskForDeviceIdentifier
Ask for device identifier
AskForStorageDataSegmentAmount(u8)
Ask for storage data segment amount
AskForStorageDataLength(u8, u8)
Ask for storage data length
AskForStorageStartTime(u8, u8)
Ask for storage start time
AskForStorageData(u8, u8)
Ask for storage data
StopStorageData
Stop sending storage data
AskForUserInformation(u8)
Ask for user information
AskWhetherSupportPI
Ask for whether to support PI in Real-time data
AskForUserAmount
Ask for user amount
DeleteStorageData(u8, u8)
Delete storage data
AskForStorageDataIdentifiers
Ask for storage data identifiers
SynchronizeDeviceTime(u8, u8, u8)
Synchronize device time
SynchronizeDeviceDate(u8, u8, u8, u8, u8)
Synchronize device date
AskForStorageDataIdentifiers2(u8, u8)
Ask for storage data identifiers 2
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ControlCommand
impl Send for ControlCommand
impl Sync for ControlCommand
impl Unpin for ControlCommand
impl UnwindSafe for ControlCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more