Function Com_SMode() Foundation

Retrieves current state of sending (transmit status).

Syntax
Com_SMode( <nComPortNum> ;
         ) --> nSendMode
Return

Return values of Com_SMode() (see XBTCOM.CH):
Constant Description
SMODE_ERROR An error occured
SMODE_EMPTY Transmit buffer is empty
SMODE_SOFT Transmitter is waiting for an XON
SMODE_HARD Transmitter is waiting for CTS (DSR or DCD)

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.