I added the driver to my embedded linux device and tried to communicate with a CH9101 chip.
Setting up the communication and sending data to the CH9101 chip (either via echo in command line or via write call in c++ code) works fine.
But reading doesn't work at all. I tried different methods (e.g. cat on the tty device, read call in c++). The CH9101 device communication works fine out of the box with windows.
I locally added multiple debug prints to this driver: In the transfer buffers the correct data can be read but it is not written to ttyCH343USB0.
Is there a code example on how to read the data or some sort of tutorial/explanation available.
Hi,
I added the driver to my embedded linux device and tried to communicate with a CH9101 chip.
Setting up the communication and sending data to the CH9101 chip (either via echo in command line or via write call in c++ code) works fine.
But reading doesn't work at all. I tried different methods (e.g. cat on the tty device, read call in c++). The CH9101 device communication works fine out of the box with windows.
I locally added multiple debug prints to this driver: In the transfer buffers the correct data can be read but it is not written to ttyCH343USB0.
Is there a code example on how to read the data or some sort of tutorial/explanation available.
Thanks :)