-->
Page 1 of 1

Documentation:Serialtimeout: serialbranch triggered?

PostPosted: Sun Aug 07, 2016 1:34 am
by Oldbod
Might be handy to know if a serialtimeout will trigger a call to serialbranch. Wondering if serialbranch needs wait to be triggerable?

Re: Documentation:Serialtimeout: serialbranch triggered?

PostPosted: Sun Aug 07, 2016 1:42 am
by Mmiscool
what do you mean by a time out triggering the branch ?

Re: Documentation:Serialtimeout: serialbranch triggered?

PostPosted: Sun Aug 07, 2016 2:06 am
by Oldbod
Sorry poor phrasing on my part. A better question would have been, is a call to serialbranch triggered when a byte arrives in the input buffer, or when the input buffer contains a complete, terminated by cr/lf,value.

If it's the second, does serialtimeout also trigger a call to serialbranch same as a completed serialinput?

If serialbranch is triggered by first byte to arrive in buffer, then just ignore me!

Re: Documentation:Serialtimeout: serialbranch triggered?

PostPosted: Sun Aug 07, 2016 2:45 am
by Mmiscool
Serialbranch is triggered by the first character received.