Function that checks if a terminated string is present in the buffer of the specified device.
Syntax |
i32 ser_ready (i32 nSer) |
||||||
---|---|---|---|---|---|---|---|
nSer |
Serial channel number |
||||||
Result |
Returns:
|
||||||
Validity |
Rule, Task |
||||||
Note |
The channel must necessarily be initialized as ascii (PSER_ASCII) |
The string must be terminated by the active terminator (terminator) or the default LF terminator (10 dec. - 0AH) or by reaching the maximum number of characters (83).