USB stack check endpoint listening

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB stack check endpoint listening

743 Views
martindusek
Contributor V

Hi,

using USB stack as USB device. Is there a way to find if host awaits data on IN endpoint? I would like to know if my data will arriveto host (or at least there is a decent probability) before I call USB_DeviceSendRequest().

0 Kudos
Reply
1 Reply

640 Views
NicolasP
Contributor IV

Hi,

From my understanding, once the HID device is connected to the host, the host USB HID stack consumes all IN packets.

When an application is connected to the host USB HID stack, these packets are delivered to the application, else they are discarded.

Nicolas