MqttUnsubscriptionCode constants

The return value after an MQTT client attempts to unsubscribe from a topic, indicating the result of the behavior.
MqttUnsubscriptionAdministrativeAction
(152) - The connection is closed due to an administrative action.
MqttUnsubscriptionImplementationSpecificError
(131) - The UNSUBSCRIBE is valid but the server does not accept it.
MqttUnsubscriptionKeepAliveTimeout
(141) - The connection is closed because no packet has been received for 1.5 times the keep alive time.
MqttUnsubscriptionMalformedPacket
(129) - The received packet does not conform to this specification.
MqttUnsubscriptionNoExisted
(17) - No matching topic filter is being used by the client.
MqttUnsubscriptionNotAuthorized
(135) - The client is not authorized to unsubscribe.
MqttUnsubscriptionPacketIdentifierInUse
(145) - The specified packet identifier is already in use.
MqttUnsubscriptionPacketTooLarge
(149) - The packet size is greater than the maximum packet size for this client or server.
MqttUnsubscriptionProtocolError
(130) - An unexpected or out of order packet was received.
MqttUnsubscriptionServerBusy
(137) - The server is busy and cannot continue processing requests from this client.
MqttUnsubscriptionServerMoved
(157) - The server is moved, and the client should permanently change its server location.
MqttUnsubscriptionServerShuttingDown
(139) - The server is shutting down.
MqttUnsubscriptionSessionTakenOver
(142) - Another connection using the same client ID has connected causing this connection to be closed.
MqttUnsubscriptionSuccess
(0) - The subscription is deleted.
MqttUnsubscriptionTopicFilterInvalid
(143) - The topic filter is correctly formed but is not allowed for this client.
MqttUnsubscriptionUnspecifiedError
(128) - The unsubscription could not be completed and the server either does not wish to reveal the reason or none of the other reason codes apply.
MqttUnsubscriptionUseAnotherServer
(156) - The client should temporarily change its server.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal