HF2211 Serial Server Device User Manual
http://www.iotworkshop.com - 53 -
4.2.1.25. UART/Buf/GapTime Instruction
Function: Display/Set UART free frame gap time.
Format:
Query
<GapTime>
Set
<GapTime> [value]
Parameter:
GapTime is used for setting UART free frame time gap. If the received data gap time is
more than setting value, the data packet will be breaked into two frame.
Value: Default: 50ms. Length Range: 10~1000ms.
4.2.1.26. UART/Buf/FlowCtrl Command
Function: Display/Set UART flow control function.
Format:
Query
<FlowCtrl>
Set
<FlowCtrl> [Enable/Disable]
Parameter:
Flow control includes software flow control and hardware flow control. Software flow
control priority is higher than hardware. If enable software flow control, the hardware
flow control pin(CTS/RTS) will be useless. Software flow control use special UART data
for control. Hardware flow control use CTS/RTS pin control. Setting is valid immediately.
Flow Control: Flow control function.
Half-Duplex: Enable RS485 half-duplex function, UART0_RTS is used for RS485
chip control function.
Disable: Flow control function. Default: Disable.
4.2.1.27. UART/Buf/SWFlowCtrl Command
Function: Display/Set UART software flow control function.
Format:
Query
<SWFlowCtrl>
Set
<SWFlowCtrl> [Enable/Disable]
Parameter:
Enable software flow control function. The device UART can output data After UART
received Xon single-byte enable data. When UART received Xoff single-byte disable
data. It will disable the device UART output data.
Enable: Enable software flow control function, When in enable status, it allow
UART data output when bootup by default.
Xon: Enable UART output data. Default: 0x11.
Xoff: Disable UART output data. Default: 0x13.