MqttDisconnectReasonCode.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. namespace MQTTnet.Protocol
  2. {
  3. public enum MqttDisconnectReasonCode
  4. {
  5. NormalDisconnection = 0,
  6. DisconnectWithWillMessage = 4,
  7. UnspecifiedError = 128,
  8. MalformedPacket = 129,
  9. ProtocolError = 130,
  10. ImplementationSpecificError = 131,
  11. NotAuthorized = 135,
  12. ServerBusy = 137,
  13. ServerShuttingDown = 139,
  14. KeepAliveTimeout = 141,
  15. SessionTakenOver = 142,
  16. TopicFilterInvalid = 143,
  17. TopicNameInvalid = 144,
  18. ReceiveMaximumExceeded = 147,
  19. TopicAliasInvalid = 148,
  20. PacketTooLarge = 149,
  21. MessageRateTooHigh = 150,
  22. QuotaExceeded = 151,
  23. AdministrativeAction = 152,
  24. PayloadFormatInvalid = 153,
  25. RetainNotSupported = 154,
  26. QoSNotSupported = 155,
  27. UseAnotherServer = 156,
  28. ServerMoved = 157,
  29. SharedSubscriptionsNotSupported = 158,
  30. ConnectionRateExceeded = 159,
  31. MaximumConnectTime = 160,
  32. SubscriptionIdentifiersNotSupported = 161,
  33. WildcardSubscriptionsNotSupported = 162
  34. }
  35. }