@staticmethod
    def get_connected_devices():
        all_daplinks = []
        all_interfaces = _get_interfaces()
        for interface in all_interfaces:
            try:
                unique_id = _get_unique_id(interface)
                new_daplink = DAPAccessUSB(unique_id)
                all_daplinks.append(new_daplink)
            except DAPAccessIntf.TransferError:
                logger = logging.getLogger(__name__)
                logger.error('Failed to get unique id', exc_info=True)
            finally:
                interface.close()
        return all_daplinks
Return an array of all mbed boards connected
dataset/ETHPy150Open mbedmicro/pyOCD/pyOCD/pyDAPAccess/dap_access_usb.py/DAPAccessUSB.get_connected_devices