← Back to team overview

mqtt-users team mailing list archive

Does Mosquitto send CONNACKS with response other than 0?

 

Hi Everybody,

I am new to MQTT and Mosquitto. Sorry if this question is unrelated to
Mosquitto.

I have been having a look at the Erlang MQTT client, and I modified it to
send usernames and password (successfully I think). Then I tried to do a
connect with no username and password and I got disconnected, however I was
expecting to receive a CONNACK with a response code of either 4 or 5?

Does Mosquitto not send them?
Or do I misunderstand the spec?

Or perhaps it is nothing to do with Mosquitto and the Erlang client is just
wrong.


Regards,

Michael
-- 
Michael Connors
http://www.michaelconnors.net

Follow ups