What means setBlocking?

31 views
Skip to first unread message

Hannes

unread,
Dec 26, 2014, 5:40:13 AM12/26/14
to libbu...@googlegroups.com
Hello!

Merry Xmas to all!

What means "setBlocking" with the serial Ports?

Datenheld

unread,
Dec 29, 2014, 6:46:16 PM12/29/14
to libbu...@googlegroups.com
Hi Hannes,

blocking basically means that a call to read the serial port will block until at least one byte could be read. If the port is not blocking, then a read call will return immediatelly, even if there was no data to read.

HTH,
Datenheld aka Bulldog
Reply all
Reply to author
Forward
0 new messages