libftdi Archives

Subject: Modem status callback function patch

From: Dmitry Lysenko <dvl36.ripe.nick@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Sat, 15 Sep 2012 06:31:14 +0300
Hello

In attached file reworked and slightly cleaned  patch.
Now do not needed exactly call ftdi_poll_modem_status().
And now if your callback function will be called and it returned
NON ZERO value at time of async reading, then this async transfer will be canceled.

WBR,
  Dmitry.
P.S. Is there someone interested in such functionality?


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


Attachment: modem_status_patch2.txt
Description: Text document

Current Thread