MQTTConnackProperties (STRUCT)ΒΆ
TYPE MQTTConnackProperties : STRUCT
Properties of CONNACK, AUTH and DISCONNECT packets (MQTT V5).
- InOut:
Name
Type
Comment
udiSessionExpiryIntervalUDINTSession Expiry Interval in seconds.
wsAssignedClientIdentifierWSTRINGAssigned Client Identifier: If the Client connects using a zero length Client Identifier, the Server MUST respond with a CONNACK containing an Assigned Client Identifier.
uiServerKeepAliveUINTThe Keep Alive is a time interval measured in seconds. It is the maximum time interval that is permitted to elapse between the point at which the Client finishes transmitting one MQTT Control Packet and the point it starts sending the next. The server Keep Alive interval overwrites the value of the input tPingInterval.
xAuthPacketReceivedBOOLTRUE, if a AUTH Packet has been received. The data is stored in wsAuthenticationMethod, bAuthenticationData and udiAuthenticationDataSize. The ReasonCode is stored in MQTTClient.eReaonCode. The response to the server can be send via the method MQTTClient.SendAuth().
wsAuthenticationMethodWSTRINGName of the authentication method
bAuthenticationDataARRAY [0..MQTTParam.g_udiMaxAuthDataSize] OF BYTE
Binary Data containing authentication data
udiAuthenticationDataSizeUDINTSize of pbAuthenticationData
wsResponseInformationWSTRINGBasis for Response Topics.
wsServerReferenceWSTRINGString which can be used to identify another Server to use. The Server uses a Server Reference in either a CONNACK or DISCONNECT packet with Reason code of 0x9C (Use another server) or Reason Code 0x9D (Server moved).
wsReasonStringWSTRINGString representing the reason for the disconnect.
uiReceiveMaximumUINTThe Server uses this value to limit the number of QoS 1 and QoS 2 publications that it is willing to process concurrently for the Client.
uiTopicAliasMaximumUINTThe maximum value of topic aliases.
bMaximumQoSBYTEMaximum allowed QoS of the server. A value of 255 means that the value has not been set.
bRetainAvailableBYTERetain Available: A value of 0 means that retained messages are not supported. A value of 1 means retained messages are supported. A value of 255 means that the value has not been set.
udiMaximumPacketSizeUDINTMaximum packet size of the server A value of 0 means that the value has not been set.
bWildcardSubscriptionAvailableBYTEWildcard Subscription Available: A value is 0 means that Wildcard Subscriptions are not supported. A value of 1 means Wildcard Subscriptions are supported. A value of 255 means that the value has not been set.
bSubscriptionIdentifierAvailableBYTESubscription Identifiers Available: A value is 0 means that Subscription Identifiers are not supported. A value of 1 means Subscription Identifiers are supported. A value of 255 means that the value has not been set.
bSharedSubscriptionAvailableBYTEShared Subscription Available: A value of 1 means Shared 1356 Subscriptions are supported. If not present, then Shared Subscriptions are supported. A value of 255 means that the value has not been set.
userPropertiesARRAY [0..(MQTTParam.g_udiMaxUserProperties - 1)] OF MQTTStringPair
Received user prperties