Struct sbp::messages::settings::MsgSettingsReadReq [−][src]
pub struct MsgSettingsReadReq {
pub sender_id: Option<u16>,
pub setting: SbpString<Vec<u8>, Multipart>,
}
Expand description
Read device configuration settings (host => device)
The setting message that reads the device configuration. The string field is a NULL-terminated and NULL-delimited string with contents “SECTION_SETTING\0SETTING\0” where the ‘\0’ escape sequence denotes the NULL character and where quotation marks are omitted. An example string that could be sent to a device is “solution\0soln_freq\0”. A device will only respond to this message when it is received from sender ID 0x42. A device should respond with a MSG_SETTINGS_READ_RESP message (msg_id 0x00A5).
Fields
sender_id: Option<u16>
The message sender_id
setting: SbpString<Vec<u8>, Multipart>
A NULL-terminated and NULL-delimited string with contents “SECTION_SETTING\0SETTING\0”
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 MsgSettingsReadReq
impl Send for MsgSettingsReadReq
impl Sync for MsgSettingsReadReq
impl Unpin for MsgSettingsReadReq
impl UnwindSafe for MsgSettingsReadReq
Blanket Implementations
Mutably borrows from an owned value. Read more