Tool/software: Code Composer Studio
I'm trying to develop an RNDIS device over USB (USB code got from starterware). I used wireshark to understand the signal flow. After SEND_ENCAPSULATED_COMMAND Request is received from the host, I removed stall condition of USB and an acknowledgement is sent from the device. A response named RESPONSE_AVAILABLE should be sent from the device after acknowledging the SEND_ENCAPSULTAED_COMMAND Request. I tried to send response by calling a function USBDCDCSendDataEP0(which is used to send data to he host when a custom command is issued or non standard descriptor has been requested on endpoint0). By using wireshark I took the signal flow. But I notice that RESPONSE_AVAILABLE is not sent.
How can I send that Response? Which function should be used to send these responses? Is there any more changes I should do in order to initialize RNDIS?