Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

Knowing data arrival of IN endpoint in the host application for FX1/FX2/FX2LP

lock attach
Attachments are accessible only for community members.

Knowing data arrival of IN endpoint in the host application for FX1/FX2/FX2LP

Anonymous
Not applicable
Question: How can I know when data arrives at IN endpoint so that the host application can read it?

 

Answer:

Device cannot itself initiate any transfers. Host has to check the status of the IN Endpoint if there is a data available to be read. One way is to send a vendor command to read the byte count of the IN endpoint on a regular interval. An example is attached.

Attachments
0 Likes
292 Views
Contributors