New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Adafruit IO Custom MQTT CONNACK Return Codes #47

Merged
merged 5 commits into from Jun 29, 2016

Conversation

Projects
None yet
2 participants
@toddtreece
Contributor

toddtreece commented Jun 27, 2016

Adds:

  • Return code 6: "Exceeded reconnect rate limit. Please try again later."
  • Return code 7: "You have been banned from connecting. Please contact the MQTT broker administrator for more details."

Changes:

  • Subscription failure moved to code -2
  • Connect timeout changed to 6 seconds to allow for 5 second delay in ban response from IO

These changes are live on Adafruit IO, and codes 6 & 7 have been submitted to the MQTT technical committee for comment.

@ladyada ladyada merged commit a05f1d9 into master Jun 29, 2016

0 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
continuous-integration/travis-ci/push The Travis CI build could not complete due to an error
Details

@toddtreece toddtreece deleted the connack_custom_codes branch Jul 7, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment