Sha256: c58360a1cbb903d0242e11a6177a640738c339eb969f5154fa6e0ab9866f9fd8

Contents?: true

Size: 927 Bytes

Versions: 11

Compression:

Stored size: 927 Bytes

Contents

# frozen_string_literal: true

module DjiMqttConnect
  module Sys::Product
    class UpdateTopoStatusMessage < StatusMessage
      attribute :data do
        attribute? :domain, Types::DeviceDomain
        attribute :type, Types::DeviceType
        attribute :sub_type, Types::DeviceSubType
        attribute :device_secret, Types::String
        attribute :nonce, Types::String

        attribute? :version, Types::Integer
        attribute? :thing_version, Types::String # dock contains thing_version instead of version

        attribute :sub_devices, Types::Array do
          attribute :sn, Types::String
          attribute :type, Types::DeviceType
          attribute :sub_type, Types::DeviceSubType
          attribute :index,	Types::String
          attribute :device_secret, Types::String
          attribute :nonce, Types::String
          attribute? :version, Types::Integer
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dji_mqtt_connect-0.1.9 lib/dji_mqtt_connect/messages/sys/product/update_topo_status_message.rb
dji_mqtt_connect-0.1.8 lib/dji_mqtt_connect/messages/sys/product/update_topo_status_message.rb
dji_mqtt_connect-0.1.7 lib/dji_mqtt_connect/messages/sys/product/update_topo_status_message.rb
dji_mqtt_connect-0.1.6 lib/dji_mqtt_connect/messages/sys/product/update_topo_status_message.rb
dji_mqtt_connect-0.1.5 lib/dji_mqtt_connect/messages/sys/product/update_topo_status_message.rb
dji_mqtt_connect-0.1.4.1 lib/dji_mqtt_connect/messages/sys/product/update_topo_status_message.rb
dji_mqtt_connect-0.1.4 lib/dji_mqtt_connect/messages/sys/product/update_topo_status_message.rb
dji_mqtt_connect-0.1.3 lib/dji_mqtt_connect/messages/sys/product/update_topo_status_message.rb
dji_mqtt_connect-0.1.2 lib/dji_mqtt_connect/messages/sys/product/update_topo_status_message.rb
dji_mqtt_connect-0.1.1.4 lib/dji_mqtt_connect/messages/sys/product/update_topo_status_message.rb
dji_mqtt_connect-0.1.1.3 lib/dji_mqtt_connect/messages/sys/product/update_topo_status_message.rb