// Start byte of the data frame
pub const START_BYTE: u8 = 0x3a;
// End byte of the data frame
pub const END_BYTE: u8 = 0x95;

// Size of the data frame
pub const SERIAL_BUFFER_SIZE: usize = 18;

///  Allowed fault 1 codes according to the heat pump documentation
pub const FAULT_CODES_1: [u8; 8] = [1, 2, 4, 8, 16, 32, 64, 128];
///  Allowed fault 2 codes according to the heat pump documentation
pub const FAULT_CODES_2: [u8; 8] = [1, 2, 4, 8, 16, 32, 64, 128];
///  Allowed fault 3 codes according to the heat pump documentation
pub const FAULT_CODES_3: [u8; 7] = [1, 2, 4, 8, 16, 32, 128];
///  Allowed fault 4 codes according to the heat pump documentation
pub const FAULT_CODES_4: [u8; 3] = [1, 2, 8];

///  Allowed status flags 1 codes according to the heat pump documentation
pub const STATUS_FLAG_CODES_1: [u8; 2] = [1, 16];
///  Allowed status flags 2 codes according to the heat pump documentation
pub const STATUS_FLAG_CODES_2: [u8; 2] = [1, 2];
///  Allowed electring heating flags 1 codes according to the heat pump documentation
pub const ELECTRIC_HEATING_FLAG_CODES: [u8; 8] = [1, 2, 4, 8, 16, 32, 64, 128];
