Before you can TCP client devices to Security Center, you must add a TCP server to the
Industrial
IoT plugin role that the devices can
connect to.
Procedure
-
From the Config
Tool home page,
open the Plugins task.
-
From the entity browser, select the Industrial
IoT plugin role and click the
Protocols tab.
-
In the Protocols list, turn on the TCP
Server switch.
-
Under the TCP Servers list, click Add TCP
server ().
-
In the Name field, enter a name for the TCP
Server.
-
In the Transport section, enter the following:
- Port
- The TCP port associated to the TCP server. This port must be open on
the Security Center main
server.
- End of message delimiter
- The characters used to segment the stream of data into multiple
messages. Choose one of the following
-
In the Data Format section, enter the following:
- Type
- The type of parsing that should be done on the segmented message.
The only supported format is plain text.
- Encoding
- The encoding used to convert the TCP stream bytes into strings.
Choose between UTF-8 and ASCII.
- Create device automatically
- Select this option to have the TCP server automatically created as a
device on the Devices page.
- Device ID regular expression
- If the device IDs are generated by the TCP server, you must provide
a regular expression to capture the value of Device
ID from the data message.
NOTE: To capture a value with a regular expression, a
capture group (delimited by parentheses) must be present. The plugin role
uses the value returned by the first capture group. If there is no capture
group in the regular expression, no value is returned. For help with regular
expression syntax, see the
Regular Expression Cheat
Sheet.
-
Click Apply.
Results
The server is added to the list of TCP Servers. If you selected the
Create device automatically option, a TCP Server device is
also added to the entity browser under the
Industrial
IoT plugin
role.