Add Adafruit IO Custom MQTT CONNACK Return Codes #47

Merged
merged 5 commits into from Jun 29, 2016

Projects

None yet

2 participants

@toddtreece
Member
toddtreece commented Jun 27, 2016 edited

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.

toddtreece added some commits Jun 24, 2016
@toddtreece toddtreece add new mqtt error codes for connack
af8ec63
@toddtreece toddtreece skip tests for new examples
b116845
@toddtreece toddtreece add winc lib to travis install
7943f90
@toddtreece toddtreece remove extra space in travis config
d7f85c1
@toddtreece toddtreece increase connect timeout to allow for 5 second ban response
39f1169
@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