I want to develop a serial driver using a driver kit framework.I am trying to override IOUserserial class methods.But i don't know how to get the size of buffer to be sent to USB layer using TXDataAvailable() and RXDataAvailable() functions? Any reference code will be helpful.
Asked
Active
Viewed 114 times
1
-
Just out of curiosity: Why are you writing a serial driver? Do you have a USB-to-serial chip with a custom protocol? Or is it more a learning project? – Codo Mar 10 '21 at 13:22
-
Actually we have some requirement to handle in the driver. – bindu Mar 12 '21 at 05:18
-
So in other words: you don't want to tell. – Codo Mar 12 '21 at 06:47
-
I am sorry I doesn't mean that I am developing a customized protocol – bindu Mar 12 '21 at 12:09