Constants (GVL)

Attributes:
qualified_only
InOut:

Scope

Name

Type

Initial

Comment

Constant

MQTT_MAX_IP_ADDRESS_LEN

WORD

15

Maximum length of IP address

MQTT_MAX_PEM_KEY_LEN

WORD

2048

Maximum length of the PEM key.

MQTT_MAX_PEM_CERT_LEN

WORD

3072

Maximum length of the PEM certificate.

MQTT_MAX_CLIENT_ID_LEN

WORD

250

Maximum length of the client id.

MQTT_MAX_USERNAME_LEN

WORD

250

Maximum length of the username.

MQTT_MAX_PASSWORD_LEN

WORD

250

Maximum length of the password.

MQTT_MAX_TOPIC_LEN

WORD

255

Maximum length of the topic.

MQTT_CLIENT_STRUCT_SIZE

WORD

336

Size of the internal connection struct representing the connection state.

MQTT_TX_BUF_SIZE

WORD

1024

Size of the internally used output buffer.

MQTT_RX_BUF_SIZE

WORD

1024

Size of the internally used input buffer.

MQTT_MSG_BUF_SIZE

WORD

2148

Size of the internally used message buffer. Buffers the messages which can be received by MqttGetReceivedPacket.

MQTT_MAX_FILE_PATH_LEN

WORD

255

Maximum length of a file path for the key and cert files

MQTT_SHA1_LEN

WORD

41

Length of a SHA1 String (20 bytes = 40 characters in hex plus 0 char)