hid-example.c as virtual ttyXX?

Martin312

New Member
Joined
Sep 12, 2020
Messages
2
Reaction score
0
Credits
34
Hi everyone,

i got the following hidraw userspace example which can communicate with a specific HID USB device.
Below you see the code.

My question is: Is there a way I can use this "hid driver"-similar .c file as a virtual ttyXX (the XX can be any number)?
So that the .c file is like a bridge between a serial com port and the hidraw.

I would be very exited, this would solve a big problem for me.

Thank you all.
Martin
[/CODE]
 

Members online


Latest posts

Top