ST_ClientConfiguration

Overview

Type:

Structure

Available as of:

V1.0.0.0

Inherits from:

-

Description

This structure provides the configuration parameters for the communication client.

Structure Elements

Name

Data type

Default value

Description

stProxySettings

ST_ProxySettings

-

Configuration parameters for the proxy configuration.

sCloudServerAddr

STRING[255]

-

Address of the cloud server. Can be given as IPv4 address or hostname. If no proxy handler is used and the address is specified as hostname, it is tried to resolve the hostname from the DNS server.

uiCloudServerPort

UINT

443 or 8883

TCP port of the cloud server. The default value depends on the selected protocol.

If HTTPS port 443 is set; if MQTTS port 8883 is set.

sDnsServerIpAddr

STRING[15]

-

IPv4 address of the DNS server. This parameter is only required, if one of the addresses for the proxy server or the cloud server must be resolved.

stTlsSetting

ST_TlsSettings

-

Parameters for the secured communication using TLS.

etProtocol

ET_ComProtocol

NotSet

Communication protocol for the data transmission to the cloud server.

stHttpClient

ST_HttpClientConfiguration

-

Configuration parameters specific for the HTTP client.

stMqttClient

ST_MqttClientConfiguration

-

Configuration parameters specific for the MQTT client.