ParameterList

The parameter list of the Tc3_IotBase library can be used to modify the size of different parameters. This modification is not possible during runtime and can only be done before compiling the code. For a better overview, only the parameter that are important for HTTP are listed in this documentation.

Syntax

Definition:

VAR_GLOBAL CONSTANT Parameter_List
    cSizeOfHttpContentType      : UDINT(32..10000);
    cSizeOfHttpClientHostName   : UDINT(32..10000);
    cSizeOfHttpTlsFilePaths     : UDINT(32..10000);
    cSizeOfHttpTlsKeyFile       : UDINT(32..10000);
    cSizeOfHttpTlsKeyPwd        : UDINT(32..10000);
    cSizeOfHttpTlsCiphers       : UDINT(32..10000);
    cSizeOfHttpTlsPskIdentity   : UDINT(32..10000);
    cSizeOfHttpTlsPskKey        : UDINT(32..10000);
END_VAR

Parameter

Name

Type

Description

cSizeOfHttpContentType

UDINT(32..10000)

String size definition of HTTP content type (in bytes).

cSizeOfHttpClientHostName

UDINT(32..10000)

String size definition of HTTP client hostname (in bytes).

cSizeOfHttpTlsFilePaths

UDINT(32..10000)

String size definition of HTTP TLS file path (in bytes).

cSizeOfHttpTlsKeyFile

UDINT(32..10000)

String size definition of HTTP TLS key file (in bytes).

cSizeOfHttpTlsKeyPwd

UDINT(32..10000)

String size definition of HTTP TLS private key password (in bytes).

cSizeOfHttpTlsCiphers

UDINT(32..10000)

String size definition of HTTP TLS cipher suites (in bytes).

cSizeOfHttpTlsPskIdentity

UDINT(32..10000)

String size definition of HTTP TLS PSK identity (in bytes).

cSizeOfHttpTlsPskKey

UDINT(32..10000)

String size definition of HTTP TLS PSK (in bytes).