I have a GSM modem connected via USB. The modem creates 2 serial ports. The first is automatically attached to the modem, the second shows in Device Manager as \"HUAWEI Mo
I built a library for serial port control. It can search the friendly name in registry. Here is the link.
https://github.com/kcwongjoe/serial_port
std::vector comPorts = SerialPort::getSerialPortList(); std::cout << comPorts[0].friendlyName << std::endl;