Home > Language Reference > Classes > StreamSerial

FlowControl Property

Flow control options.

Syntax

Public Property Get FlowControl() As HbFlowControl
Public Property Let FlowControl(ByVal
eFlags As HbFlowControl)

ParameterDescription
eFlagsNew flow control options.

Remarks

The FlowControl property controls the various hardware signals a serial communication uses to synchronize data exchange. It can take any combination of the following values:

ConstantValueDescription
hbFlowRTSAuto&H0010RTS (request to send) receive flow control. This flag is set by default.
hbFlowCTSAuto&H0020CTS (clear to send) transmit flow control.
hbFlowRTSInactive&H0200If this flag is set and hbFlowRTSAuto is not set, RTS is held in the inactive (flow off) state forever.
hbFlowControlIn&H0100Protect the receive buffer from software overruns. When both this flag and hbFlowRTSAuto are set, it causes the Serial Manager to assert RTS to prevent the transmitting device from continuing to send data when the receive buffer is full.

Some serial hardwares may not support all of these flags. In such a case, trying to set an unssuported option has simply no effect, and notably does not raise any error.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.3N/A