hbmqtt icon indicating copy to clipboard operation
hbmqtt copied to clipboard

Error

Open fabltd opened this issue 6 years ago • 1 comments

I have a hardware device when it connects I get the following error:

Incorrect protocol name: "MQIsdp"

?

fabltd avatar May 17 '18 13:05 fabltd

A bit of thread necromancy, but I ran into this as well. This indicates that your device is using MQTT 3.1, while hbmqtt uses 3.1.1. See section 4.1 below in this document.

The Protocol Name is present in the variable header of a MQTT CONNECT control packet. The Protocol Name is a UTF-8 encoded string. In MQTT 3.1 the protocol name is "MQISDP". In MQTT 3.1.1 the protocol name is represented as "MQTT".

bahildebrand avatar Apr 25 '19 01:04 bahildebrand