【背景】
之前就折腾过很多关于RTS/CTS,DTR/DSR的内容:
但是至今还是觉得,没有彻底明白,还有有一点点迷惑。
现在重新去整理相关知识。
【折腾过程】
1.参考:
先贴出缩写的含义:DTR – Data Terminal Ready
DSR – Data Set Ready
RTS – Request To Send
CTS – Clear To Send
对应的相关的其他术语还有:DCE:Data Communication Equipment,可以理解为:数据的发起发
DTE:Data Terminal Equipment,可以理解为:数据的接收方
然后了解到:
The difference between them is that they use different pins. Seriously, that’s it. The reason they both exist is that RTS/CTS wasn’t supposed to ever be a flow control mechanism, originally; it was for half-duplex modems to coordinate who was sending and who was receiving. RTS and CTS got misused for flow control so often that it became standard.
RTS/CTS和DTR/DSR,是用的物理引脚是不同的;
而关于DTR/DSR和RTS/CTS共存(没有统一只使用单个的一组硬件引脚(要么用RTS/CTS,