You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think mosquitto is not complaint whit the MQTT 5.0 specification. I'm using the libmosquitto and if i connect two clients with the same ClientID to the broker, than the reason code of the disconnect callback is 0x7 (unknown reason). The MQTT specification in section 3.1.4 states the following:
If the ClientID represents a Client already connected to the Server, the Server sends a DISCONNECT packet to the existing Client with Reason Code of 0x8E (Session taken over) as described in section 4.13 and MUST close the Network Connection of the existing Client.
Therefor I think, the correct return code would be 0x8E in my case.
Kind regards,
Bernd
The text was updated successfully, but these errors were encountered:
I think mosquitto is not complaint whit the MQTT 5.0 specification. I'm using the libmosquitto and if i connect two clients with the same ClientID to the broker, than the reason code of the disconnect callback is 0x7 (unknown reason). The MQTT specification in section 3.1.4 states the following:
Therefor I think, the correct return code would be 0x8E in my case.
Kind regards,
Bernd
The text was updated successfully, but these errors were encountered: