Function ecu_diagnostics::kwp2000::read_memory [−][src]
pub fn read_memory(
server: &mut Kwp2000DiagnosticServer,
address: u32,
size: u8
) -> DiagServerResult<Vec<u8>>
Expand description
Reads the contents of RAM memory on the ECU given a 3 byte address, and 1 byte size. The maximum value for address is 0xFFFFFF, any larger values will be clamped.
NOTE: This function is ONLY indented for ECU development. In production ECUs, use super::read_data_by_local_id::read_custom_local_identifier instead