pub const MAX_TDI_ENTITIES: u32 = 4096u32;