pub type DeviceStatusReplyPacket = Cdc2ReplyPacket<USER_CDC, DEV_STATUS, DeviceStatusReplyPayload>;Aliased Type§
pub struct DeviceStatusReplyPacket {
pub size: u16,
pub payload: Result<DeviceStatusReplyPayload, Cdc2Ack>,
pub crc16: u16,
}Fields§
§size: u16Total payload size. This includes the size taken by the ecmd, ack, and crc fields.
payload: Result<DeviceStatusReplyPayload, Cdc2Ack>Payload. Only decoded if the packet is acknowledged.
crc16: u16CRC16 calculated from the entire packet contents.