Hello,
I’m working on Neutrino 2.1 Beta2.
I wrote a USB client driver using USB DDK provided with your USB stack
Here are some problems i encountered during development :
the “usbd_disconnect” function kills my client when i call it. I set the
“struct usbd_connection *pConnection” parameter with the one returned
by “usbd_connect” function… The problem occurs even if i call the
disconnect funtion just after the connect function.
Do we have to use “usbd_io” function when making transfert across the
default control pipe ? How do we use usbd_setup_vendor and
usbd_setup_control commands ? What’s the difference with usbd_descriptor ?
It seems that it’s impossible to close a pipe if a reading thread is in a
blocking state.
So how is it possible to close a pipe if theres’s nothing to read from it
and if we
our read function is waiting for datas ?
Thanks for reply.