How to communicate with a "non-com-port" device?
If the connected device with a chip which is RS-232 based communication control can not be detected as a com port and is only recognized as a Universal Serial Bus Controller, Are there any library in QT that could do the identical jobs as QSerialPort?
[QextPortInfo? QextSerialEnumerator? QextSerialPort? ]
This device can not be found by the example "enumerator", but the driver has been updated to the latest version.
In addition, if the device is USB3.0 and is not RS-232 base communication control, which library is the better candidate?
Re: How to communicate with a "non-com-port" device?
Quote:
Originally Posted by
leisha
If the connected device with a chip which is RS-232 based communication control can not be detected as a com port
If Windows (I assume) does not present the device as a new COM port then it is not designed to be accessed as a simple serial port.
You will need to know the technical details of the USB interface it does present (HID or something else) and then either use the Windows API or a library like libusb to get at it.
Re: How to communicate with a "non-com-port" device?
Thank you so much for pointing out two ways to me. My OS is windows 8.1. I will modify code for detecting device with Windows API or libusb/libusb-win32 this weekend and try next week. Hope I can have positive result.