hbmqtt
hbmqtt copied to clipboard
Error
I have a hardware device when it connects I get the following error:
Incorrect protocol name: "MQIsdp"
?
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".