USB stack check endpoint listening

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

USB stack check endpoint listening

712件の閲覧回数
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 件の賞賛
返信
1 返信

609件の閲覧回数
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