MqttMessageReceived

Network MQTT Client ActiveClients One client

ns=2;s=DEPRAG Smart/Network/MQTT/ActiveClients/0/MqttMessageReceived

The event is triggered as soon as an MQTT message is received.

Returns:

    Result
    The result contains the information that is transmitted with the event.
      ClientId
      Unique identification of the MQTT client sending the message.
      Retain
      Marks the Retain flag in the MQTT message. The broker is instructed to cache the last message sent to the topic. Clients that connect to the broker at a later time will receive this message.
      Dup
      The DUP flag indicates whether the message is a duplicate.
      ReasonCode
      Reason for the failure to process the message:
      Success
      NoMatchingSubscribers
      UnspecifiedError
      ImplementationSpecificError
      NotAuthorized
      TopicNameInvalid
      PacketIdentifierInUse
      PacketIdentifierNotFound
      QuotaExceeded
      PayloadFormatInvalid
      IsHandled
      Indicates whether the message has been processed.