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)
| Parameter | Description |
| eFlags | New 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:
| Constant | Value | Description |
| hbFlowRTSAuto | &H0010 | RTS (request to send) receive flow control. This flag is set by default. |
| hbFlowCTSAuto | &H0020 | CTS (clear to send) transmit flow control. |
| hbFlowRTSInactive | &H0200 | If this flag is set and hbFlowRTSAuto is not set, RTS is held in the inactive (flow off) state forever. |
| hbFlowControlIn | &H0100 | Protect 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
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.3 | N/A |