TCP Driver Configuration
Plugin Configuration
The plugin configuration file is named settings.json
located in <install directory>\Config\HumanOS.UHAL.TcpClientControl\
. It contains all global settings of the plugin.
See Generic Plugin Configuration for more details.
Device Information File
The device information file is used to configure the access to the TCP/IP devices. It contains:
Id
: unique device id (GUID), which MUST match the device license id.DriverId
:82AD96A4-5E4C-4FA6-B302-219CD92731BD
Address
: Connection address- Data Access
See Device Information Model for more details.
Connection Address
The address denotes the pure ip-address and port separated by :
.
192.168.0.99:8822
or a host name.
my-host.com:8822
Additional Properties
Name | Description | Data Type |
---|---|---|
SendTimeout | [OPT] Declares the sending timeout. Default is 10 sec | System.String |
ReceiveTimeout | [OPT] Declares the receiving timeout. Default is 10 sec | System.String |
Example
{
"Name": "TestServer",
"Id": "6ae9da3f-4606-4c78-9eb3-aa70cebcb571",
"DriverId": "82AD96A4-5E4C-4FA6-B302-219CD92731BD",
"Address": "192.168.0.99:8822",
"Properties": [
{
"Name": "SendTimeout",
"Value": 4000,
"DataType": "System.Int32"
},
{
"Name": "ReceiveTimeout",
"Value": 5000,
"DataType": "System.Int32"
}
],
...
}