libftdi Archives

Subject: Re: Detecting a break

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: Maxwell Dreytser <admin@xxxxxxxxx>
Date: Mon, 31 Jul 2017 14:27:09 +0200
Hi Maxwell,

On Sunday, 30 July 2017 04:47:54 CEST Maxwell Dreytser wrote:
> Hello,
> 
> Is it possible to detect a break signal? Where in the libftdi code can
> this be detected?

there is ftdi_poll_modem_status() which reads out the modem status register.
ftdi_read_data() also gets the status register, but discards the information.

Thomas


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

Current Thread