public static Collection<SerialPortChannel> findAll() throws ChannelException {
        try {
            Collection<SerialPortChannel> all = new ArrayList<>();
            Enumeration portList = CommPortIdentifier.getPortIdentifiers();
            while (portList.hasMoreElements()) {
                CommPortIdentifier portId = (CommPortIdentifier) portList.nextElement();
                if (portId.getName().startsWith("COM")) {
                    all.add(new SerialPortChannel(portId));
                }
            }
            return all;
        }
        catch (Throwable t) {
            throw new ChannelException(t);
        }
    }