pub fn get_ap_by_idr<AP, P>( debug_port: &mut AP, dp: DpAddress, f: P, ) -> Option<GenericAp>where AP: ApAccess, P: Fn(IDR) -> bool,
Tries to find the first AP with the given idr value, returns None if there isn’t any
None