Serial Source
Settings for the COM-port, serial, channel source.
Config | Type | Default | Description |
---|---|---|---|
c.chnl[#].src.com.rxpin |
integer | 0 |
0=auto; 2=DTR; 3=DCE; -1=diagnostics |
c.chnl[#].src.com.autobaud |
integer | 1 |
Whether autobaud enabled. |
c.chnl[#].src.com.baud |
integer | 115200 |
Baud rate: 300-115200 |
c.chnl[#].src.com.protocol |
string | 8N |
The serial protocol. e.g. 7N, 7E, 7O, 8N, 8E, 8O |
c.chnl[#].src.com.passin |
string | '' |
Which handshake lines to check for source being connected when using pass-through. cts and/or dsr . |
c.chnl[#].src.com.rxflow |
string | 'rts' |
Which handshake lines to use for receive flow control. rts and/or dtr . e.g. 'rtsdtr' = RTS & DTR flow control |
c.chnl[#].src.com.txflow |
string | 'cts' |
Which handshake lines to check for transmit flow control. cts and/or dsr . e.g. 'ctsdsr' = CTS & DSR flow control. |
c.chnl[#].src.com.txchunk |
integer | 16 |
Number of bytes to queue for transmission. Smaller values increase CPU load but allow the ip.buffer to stop sending sooner when the device signals "don't send". |
c.chnl[#].src.com.loopback |
integer | 0 |
1 for diagnostic loopback |
c.chnl[#].src.com.passbreak |
integer | 0 |
Milliseconds to send break when pass-through connects. |
c.chnl[#].src.com.passhand |
string | '' |
Which handshake lines to assert when pass-through connects. rts and/or dtr |
If c.chnl[#].src.com.passin='ctsdsr'
then both must be unasserted to consider the COM port unconnected. (i.e. either asserted assumes there is a connection.)