We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a589e41 commit 5dbc762Copy full SHA for 5dbc762
src/AdafruitIO.cpp
@@ -239,10 +239,10 @@ aio_status_t AdafruitIO::mqttStatus()
239
case 2: // client id rejected
240
case 4: // malformed user/pass
241
case 5: // unauthorized
242
- case 7: // banned
243
return AIO_CONNECT_FAILED;
244
- case 3: // mqtt service unavailable
245
- case 6: // throttled
+ case 3: // mqtt service unavailable
+ case 6: // throttled
+ case 7: // banned -> all MQTT bans are temporary, so eventual retry is permitted
246
// delay to prevent fast reconnects
247
delay(AIO_THROTTLE_RECONNECT_INTERVAL);
248
return AIO_DISCONNECTED;
0 commit comments