Struct sbp::messages::bootload::MsgBootloaderHandshakeResp [−][src]
pub struct MsgBootloaderHandshakeResp {
pub sender_id: Option<u16>,
pub flags: u32,
pub version: SbpString<Vec<u8>, Unterminated>,
}
Expand description
Bootloading handshake response (host <= device)
The handshake message response from the device establishes a handshake between the device bootloader and the host. The request from the host is MSG_BOOTLOADER_HANDSHAKE_REQ. The payload contains the bootloader version number and the SBP protocol version number.
Fields
sender_id: Option<u16>
The message sender_id
flags: u32
Bootloader flags
version: SbpString<Vec<u8>, Unterminated>
Bootloader version number
Trait Implementations
The message type.
The message name.
Performs the conversion.
Get the message name.
Get the message type.
Set the sender id.
Number of bytes this message will take on the wire.
Auto Trait Implementations
impl RefUnwindSafe for MsgBootloaderHandshakeResp
impl Send for MsgBootloaderHandshakeResp
impl Sync for MsgBootloaderHandshakeResp
impl Unpin for MsgBootloaderHandshakeResp
impl UnwindSafe for MsgBootloaderHandshakeResp
Blanket Implementations
Mutably borrows from an owned value. Read more