use heapless::Vec;
use crate::apl::descriptors::error::Error;
const MAX_CLUSTER_COUNT: usize = (16 * 255) / 8; const SIMPLE_DESCRIPTOR_SIZE: usize = 8 + 2 * MAX_CLUSTER_COUNT;
pub struct SimpleDescriptor(Vec<u8, SIMPLE_DESCRIPTOR_SIZE>);
impl SimpleDescriptor {
fn new(
endpoint: u8,
application_profile_identifier: u16,
application_device_identifier: u16,
application_device_version: u8,
application_input_cluster_count: u8,
application_input_cluster_list: Option<Vec<u8, MAX_CLUSTER_COUNT>>,
application_output_cluster_count: u8,
application_output_cluster_list: Option<Vec<u8, MAX_CLUSTER_COUNT>>,
) -> Result<Self, Error> {
todo!()
}
}