setProtocolV31 method

void setProtocolV31 ()

Set the protocol version to V3.1 - default

Implementation

void setProtocolV31() {
  Protocol.version = MqttClientConstants.mqttV31ProtocolVersion;
  Protocol.name = MqttClientConstants.mqttV31ProtocolName;
}