Trait ecu_diagnostics::BaseServerPayload[][src]

pub trait BaseServerPayload {
    fn get_payload(&self) -> &[u8];
fn get_sid_byte(&self) -> u8;
fn to_bytes(&self) -> &[u8];
fn requires_response(&self) -> bool; }
Expand description

Basic diagnostic server payload

Required methods

Gets the payload portion of the diagnostic message (Not including the SID)

Gets the SID (Service ID) byte from the payload

Gets the entire message as a byte array. This is what is sent to the ECU

Boolean indicating if the diagnostic server should poll the ECU for a response after sending the payload

Implementors