TCP Source
Settings for the TCP client or server channel source.
Config | Type | Default | Description |
---|---|---|---|
c.chnl[#].src.tcp.port |
integer | 2001 |
The TCP/IP port number |
c.chnl[#].src.tcp.passive |
integer | 1 |
1=device-to-ip.buffer (passive/server); 0=ip.buffer-to-device (active/client) |
c.chnl[#].src.tcp.ssl |
string | '' |
Whether to use SSL. 'i' = implicit SSL/TLS |
c.chnl[#].src.tcp.address |
string | '' |
The address, or name, to connect when an active/client connection (.passive=0 ) |
c.chnl[#].src.tcp.allow |
string | '' |
The address, name, wildcard, or list, to allow when an passive/server connection (.passive=1 ) |
c.chnl[#].src.tcp.match[X] |
string | '' |
The match string (X=1-4) to check for. See below for #Special Characters |
c.chnl[#].src.tcp.send[X] |
string | '' |
The send string (X=1-4) to send. See below for #Special Characters |
c.chnl[#].src.tcp.heartbeat.interval |
integer | 0 |
The interval, in seconds, to send the heartbeat string back to the device. 0 = send nothing. |
c.chnl[#].src.tcp.heartbeat.string |
string | '' |
The string to send on the heartbeat interval. |
c.chnl[#].src.tcp.heartbeat.string
and c.chnl[#].src.tcp.match[X]
can have the following special characters:
Character | Description |
---|---|
# |
CR/LF |
$ |
0x00 NULL |
/HH or {HH} |
Hex, e.g. {E1A2} is 0xe1 + 0xa2 |