accessing device driver from C application
Hi,
I wrote device driver to USB device, I can see it is alive and sending the data that I set it to send from the shell Code:
cat /dev/myDev I've tried to open it as a file and read it's content to buffer but noting returns.. Code:
char bufferin[500]; |
anyone?
|
OK
Found a solution Code:
int myDevFd = open("/dev/myDev", O_RDWR); |
All times are GMT -5. The time now is 04:00 AM. |