pub enum ControlCommand {
Show 17 variants ContinuousRealTimeData, StopRealTimeData, InformDeviceConnected, AskForDeviceIdentifier, AskForStorageDataSegmentAmount(u8), AskForStorageDataLength(u8u8), AskForStorageStartTime(u8u8), AskForStorageData(u8u8), StopStorageData, AskForUserInformation(u8), AskWhetherSupportPI, AskForUserAmount, DeleteStorageData(u8u8), AskForStorageDataIdentifiers, SynchronizeDeviceTime(u8u8u8), SynchronizeDeviceDate(u8u8u8u8u8), AskForStorageDataIdentifiers2(u8u8),
}
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(u8u8)

Ask for storage data length

AskForStorageStartTime(u8u8)

Ask for storage start time

AskForStorageData(u8u8)

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(u8u8)

Delete storage data

AskForStorageDataIdentifiers

Ask for storage data identifiers

SynchronizeDeviceTime(u8u8u8)

Synchronize device time

SynchronizeDeviceDate(u8u8u8u8u8)

Synchronize device date

AskForStorageDataIdentifiers2(u8u8)

Ask for storage data identifiers 2

Trait Implementations

The package code

Gives the 7 data bytes of the package

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.