Sha256: 1e7ca230c0808c6c4441cb2e82dc2afa3f2f1affcc51534fe0a0e4084dbc2e14

Contents?: true

Size: 484 Bytes

Versions: 49

Compression:

Stored size: 484 Bytes

Contents

# frozen_string_literal: true

module DjiMqttConnect
  module Sys::Product
    class StatusReplyTopicRepository < TopicRepository
      # Publishes a message to device_identifier on the "sys/product/+/status_reply" topic.
      def publish_to_device(device_identifier, status_reply_message)
        publish_to_topic(
          "sys/product/#{device_identifier}/status_reply",
          status_reply_message,
          marshal: StatusReplyMarshal
        )
      end
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
dji_mqtt_connect-0.1.4 lib/dji_mqtt_connect/topics/sys/product/status_reply.rb
dji_mqtt_connect-0.1.3 lib/dji_mqtt_connect/topics/sys/product/status_reply.rb
dji_mqtt_connect-0.1.2 lib/dji_mqtt_connect/topics/sys/product/status_reply.rb
dji_mqtt_connect-0.1.1.4 lib/dji_mqtt_connect/topics/sys/product/status_reply.rb
dji_mqtt_connect-0.1.1.3 lib/dji_mqtt_connect/topics/sys/product/status_reply.rb
dji_mqtt_connect-0.1.1.2 lib/dji_mqtt_connect/topics/sys/product/status_reply.rb
dji_mqtt_connect-0.1.1.1 lib/dji_mqtt_connect/topics/sys/product/status_reply.rb
dji_mqtt_connect-0.1.1 lib/dji_mqtt_connect/topics/sys/product/status_reply.rb
dji_mqtt_connect-0.1.0 lib/dji_mqtt_connect/topics/sys/product/status_reply.rb