libftdi Archives

Subject: Re: drain receive buffer

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: "Matwey V. Kornilov" <matwey.kornilov@xxxxxxxxx>
Date: Thu, 31 Aug 2017 14:31:54 +0200
Hi Matwey,

On Wednesday, 30 August 2017 18:12:43 CEST Matwey V. Kornilov wrote:
> Is there a way to force receive buffer draining (send to the host) from
> the host side? I know that the buffer is drained when either buffer is
> full or latency timer is expired. Any other options, when I don't want
> to wait until timer expiration?

the only way I currently see is to set the latency timer to one and set it 
back afterwards. Otherwise I'm not aware of any USB command to trigger a 
buffer drain.

Thomas


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread