USB stack check endpoint listening

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB stack check endpoint listening

1,063 次查看
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 回复

960 次查看
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