2009-06-18 04:44:20     how detect that tx buffer is empty

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-06-18 04:44:20     how detect that tx buffer is empty

Adam W (POLAND)

Message: 75954   

 

I use BF537. How can I detect that transmit buffer od /dev/ttySx is empty (all characters have been transmitted). ?

QuoteReplyEditDelete

 

 

2009-06-18 07:11:08     Re: how detect that tx buffer is empty

Mike Frysinger (UNITED STATES)

Message: 75961   

 

read the termios man page.  it describes tcdrain().

QuoteReplyEditDelete

Attachments

    Outcomes