diff --git a/src/libboard_artiq/src/drtioaux_proto.rs b/src/libboard_artiq/src/drtioaux_proto.rs index eb28a52..cc04838 100644 --- a/src/libboard_artiq/src/drtioaux_proto.rs +++ b/src/libboard_artiq/src/drtioaux_proto.rs @@ -305,15 +305,6 @@ pub enum Packet { CoreMgmtClearLogRequest { destination: u8, }, - CoreMgmtPullLogRequest { - destination: u8, - }, - CoreMgmtPullLogReply { - destination: u8, - last: bool, - length: u16, - data: [u8; CORE_MGMT_PAYLOAD_MAX_SIZE], - }, CoreMgmtSetLogLevelRequest { destination: u8, log_level: u8, @@ -653,22 +644,6 @@ impl Packet { 0xd2 => Packet::CoreMgmtClearLogRequest { destination: reader.read_u8()?, }, - 0xd3 => Packet::CoreMgmtPullLogRequest { - destination: reader.read_u8()?, - }, - 0xd4 => { - let destination = reader.read_u8()?; - let last = reader.read_bool()?; - let length = reader.read_u16()?; - let mut data: [u8; CORE_MGMT_PAYLOAD_MAX_SIZE] = [0; CORE_MGMT_PAYLOAD_MAX_SIZE]; - reader.read_exact(&mut data[0..length as usize])?; - Packet::CoreMgmtPullLogReply { - destination: destination, - last: last, - length: length, - data: data, - } - } 0xd5 => Packet::CoreMgmtSetLogLevelRequest { destination: reader.read_u8()?, log_level: reader.read_u8()?, @@ -1131,22 +1106,6 @@ impl Packet { writer.write_u8(0xd2)?; writer.write_u8(destination)?; } - Packet::CoreMgmtPullLogRequest { destination } => { - writer.write_u8(0xd3)?; - writer.write_u8(destination)?; - } - Packet::CoreMgmtPullLogReply { - destination, - last, - length, - data, - } => { - writer.write_u8(0xd4)?; - writer.write_u8(destination)?; - writer.write_bool(last)?; - writer.write_u16(length)?; - writer.write_all(&data[0..length as usize])?; - } Packet::CoreMgmtSetLogLevelRequest { destination, log_level } => { writer.write_u8(0xd5)?; writer.write_u8(destination)?;