MqttResponseReasonCode constants

Reason codes for MQTTMessage events.
MqttResponseImplementationSpecificError
(131) - The PUBLISH is valid but the receiver is not willing to accept it.
MqttResponseNoMqtchingSubscribers
(16) - The message is accepted but there are no subscribers.
MqttResponseNotAuthorized
(135) - The PUBLISH is not authorized.
MqttResponsePacketIdentifierInUse
(145) - The packet identifier is already in use. This might indicate a mismatch in the session state between the client and server.
MqttResponsePayloadFormatInvalid
(153) - The payload format does not match the one specified in the payload format indicator.
MqttResponseQuotaExceeded
(151) - An implementation or administrative imposed limit has been exceeded.
MqttResponseSuccess
(0) - The message is accepted. Publication of the message proceeds.
MqttResponseTopicNameInvalid
(144) - The topic name is not malformed but is not accepted by this client or server.
MqttResponseUnSpecifiedError
(128) - The PUBLISH is valid but the receiver is not willing to accept it.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal