According to MQTTv5 spec, Maximum QoS property should not be included in CONNECT packet, but it may be included only in CONNACK packet.
Actually, I included that property in CONNECT and sent it to Mosquitto MQTT server, the connection was refused.
So, I also think we should remove Maximum QoS property from CONNECT packet in this library.
If you like this, I hope you can review this request.
Best Regards,
note:
I couldn't pass the test by 'make test' command each in this branch and also master with the following message. It seems to not be related to the change of this branch.
Closes #161
According to MQTTv5 spec, Maximum QoS property should not be included in CONNECT packet, but it may be included only in CONNACK packet.
Actually, I included that property in CONNECT and sent it to Mosquitto MQTT server, the connection was refused.
So, I also think we should remove Maximum QoS property from CONNECT packet in this library.
If you like this, I hope you can review this request.
Best Regards,
note: I couldn't pass the test by 'make test' command each in this branch and also master with the following message. It seems to not be related to the change of this branch.