MQTT::protocol_name

Description

This command gets or sets the protocol-name of an MQTT CONNECT message.

Syntax

MQTT::protocol_name [<name-string>]

MQTT::protocol_name

  • Get the protocol name of MQTT CONNECT message.

MQTT::protocol_name <name-string>

  • Set the protocol name of MQTT CONNECT message.
    • To set to MQTT 3.1.1 use ‘MQTT’.
    • To set to MQTT 3.1 use ‘MQIsdp’, capitalized as shown.

Examples