KeyValueLoadReplyPacket

Type Alias KeyValueLoadReplyPacket 

Source
pub type KeyValueLoadReplyPacket = Cdc2ReplyPacket<USER_CDC, SYS_KV_LOAD, FixedString<255>>;

Aliased Type§

pub struct KeyValueLoadReplyPacket {
    pub size: u16,
    pub payload: Result<FixedString<255>, Cdc2Ack>,
    pub crc16: u16,
}

Fields§

§size: u16

Total payload size. This includes the size taken by the ecmd, ack, and crc fields.

§payload: Result<FixedString<255>, Cdc2Ack>

Payload. Only decoded if the packet is acknowledged.

§crc16: u16

CRC16 calculated from the entire packet contents.