Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This table summarizes disconnection scenarios, and the resultant reason codes when using a

...

MQTT 5 client

Method

Reason Code

Reason String

onAuthenticationFailedDisconnect

NOT_AUTHORIZED

Unknown authentication key or wrong authentication secret

onClientInitiatedDisconnect

NORMAL_DISCONNECTION

Empty

onServerInitiatedDisconnect

ADMINISTRATIVE_ACTION

Empty

onConnectionLost

Empty

Empty

...