sskaje / mqtt

MQTT Client class
https://sskaje.me/category/MQTT/
MIT License
86 stars 33 forks source link

Unknown error if the client is not authorized to connect #14

Closed btry closed 8 years ago

btry commented 8 years ago

Hi

If CONNACK contains 0x00 0x05 the spec says it means Connection Refused, not authorized

If this happens, the code returns ERROR Connection failed! (Error: 0x00 0x05|Unknown error)

sskaje commented 8 years ago

Hi @btry , is #11 what you mean? It should have been fixed for months.

btry commented 8 years ago

Hi

My copy is outdated. Sorry for the inconvenience.