dji_mqtt_connect 0.1.31.1 → 0.1.31.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c96ea2218ef2440d35f7c38093cacbea2d716925a113182ebc4c74201fc03654
4
- data.tar.gz: a0b8f76ae9166b2b57b5f6bfb711ebacf9e87447160d575494145bcedc45bfb0
3
+ metadata.gz: 87a7673f45593b3ce66ca14d33a6492a4cbd5d81710291dcba5027e202148b61
4
+ data.tar.gz: a89ae38308b46c6e7ad6b7f8b7f6eee995c9260d7e1319073bea503c72a77747
5
5
  SHA512:
6
- metadata.gz: cca3a9cbd52669bb5f4cce9dda2bcee97f30adbc1bbc562cb7697a785ae4762560a3bcab2fd9c26fac87af446e63c10e718f36a121b03a69507259c2f9282b75
7
- data.tar.gz: 7b39573815f8de87f477cb6a2149fe7cd18feb5ec41a79c5747ebc37067cabddaaff46f4a201b87a7bf7e52aa15dbab0f3cd1bfa7634732454690ace91454be1
6
+ metadata.gz: 24e761c83d911a2780db76bbadc0b887541c6b6f9829f57226e73241ab0ffe228df1e26d3e99e55e3cb5c44cb183398ed235347ecb064a04f05f78f84d8836a9
7
+ data.tar.gz: 8224bffb5d9e4e2e566c34eed3b9c8bfd1a8e6f2cd1106af6132a52f73ecef615fd9576baf87d7c8ace3c059262e1c8c23e14af03cf7f8d38e37dba69ada929c
@@ -59,7 +59,7 @@ module DjiMqttConnect
59
59
  attribute? :drone_in_dock, Types::DroneInDock
60
60
  include Mixins::DroneInDock
61
61
 
62
- attribute? :electric_supply_voltage, Types::Integer
62
+ attribute? :electric_supply_voltage, Types::JSON::Decimal
63
63
 
64
64
  attribute? :flighttask_prepare_capacity, Types::Integer
65
65
 
@@ -107,16 +107,20 @@ module DjiMqttConnect
107
107
  end
108
108
 
109
109
  attribute? :wireless_link do
110
- attribute :_4g_freq_band, Types::JSON::Decimal
111
- attribute :_4g_gnd_quality, Types::Integer
112
- attribute :_4g_link_state, Types::Integer
113
- attribute :_4g_quality, Types::Integer
114
- attribute :_4g_uav_quality, Types::Integer
115
- attribute :dongle_number, Types::Integer
116
- attribute :link_workmode, Types::Integer
117
- attribute :sdr_freq_band, Types::JSON::Decimal
118
- attribute :sdr_link_state, Types::Integer
119
- attribute :sdr_quality, Types::Integer
110
+ attribute? :_4g_freq_band, Types::JSON::Decimal
111
+ attribute? :_4g_gnd_quality, Types::Integer
112
+ attribute? :_4g_link_state, Types::Integer
113
+ attribute? :_4g_quality, Types::Integer
114
+ attribute? :_4g_uav_quality, Types::Integer
115
+ attribute? :dongle_number, Types::Integer
116
+ attribute? :link_workmode, Types::Integer
117
+ attribute? :sdr_freq_band, Types::JSON::Decimal
118
+ attribute? :sdr_link_state, Types::Integer
119
+ attribute? :sdr_quality, Types::Integer
120
+ attribute? :sdr_relay_gnd_link_state, Types::Integer
121
+ attribute? :sdr_relay_gnd_quality, Types::Integer
122
+ attribute? :sdr_relay_uav_link_state, Types::Integer
123
+ attribute? :sdr_relay_uav_quality, Types::Integer
120
124
  end
121
125
 
122
126
  attribute? :working_current, Types::Integer
@@ -163,7 +167,7 @@ module DjiMqttConnect
163
167
  attribute :quality, Types::Integer
164
168
  include Mixins::PositionStateQuality
165
169
 
166
- attribute :gps_number, Types::Integer
170
+ attribute? :gps_number, Types::Integer
167
171
  attribute :rtk_number, Types::Integer
168
172
  end
169
173
 
@@ -112,7 +112,7 @@ module DjiMqttConnect
112
112
  attribute? :drone_in_dock, Types::DroneInDock
113
113
  include Mixins::DroneInDock
114
114
 
115
- attribute? :electric_supply_voltage, Types::Integer
115
+ attribute? :electric_supply_voltage, Types::JSON::Decimal
116
116
 
117
117
  # {"0":"Closed","1":"Opened"}
118
118
  attribute? :emergency_stop_state, Types::EmergencyStopState
@@ -189,7 +189,7 @@ module DjiMqttConnect
189
189
  attribute :quality, Types::Integer
190
190
  include Mixins::PositionStateQuality
191
191
 
192
- attribute :gps_number, Types::Integer
192
+ attribute? :gps_number, Types::Integer
193
193
  attribute :rtk_number, Types::Integer
194
194
  end
195
195
 
@@ -262,16 +262,20 @@ module DjiMqttConnect
262
262
  attribute? :wind_speed, Types::JSON::Decimal
263
263
 
264
264
  attribute? :wireless_link do
265
- attribute :_4g_freq_band, Types::JSON::Decimal
266
- attribute :_4g_gnd_quality, Types::Integer
267
- attribute :_4g_link_state, Types::Integer
268
- attribute :_4g_quality, Types::Integer
269
- attribute :_4g_uav_quality, Types::Integer
270
- attribute :dongle_number, Types::Integer
271
- attribute :link_workmode, Types::Integer
272
- attribute :sdr_freq_band, Types::JSON::Decimal
273
- attribute :sdr_link_state, Types::Integer
274
- attribute :sdr_quality, Types::Integer
265
+ attribute? :_4g_freq_band, Types::JSON::Decimal
266
+ attribute? :_4g_gnd_quality, Types::Integer
267
+ attribute? :_4g_link_state, Types::Integer
268
+ attribute? :_4g_quality, Types::Integer
269
+ attribute? :_4g_uav_quality, Types::Integer
270
+ attribute? :dongle_number, Types::Integer
271
+ attribute? :link_workmode, Types::Integer
272
+ attribute? :sdr_freq_band, Types::JSON::Decimal
273
+ attribute? :sdr_link_state, Types::Integer
274
+ attribute? :sdr_quality, Types::Integer
275
+ attribute? :sdr_relay_gnd_link_state, Types::Integer
276
+ attribute? :sdr_relay_gnd_quality, Types::Integer
277
+ attribute? :sdr_relay_uav_link_state, Types::Integer
278
+ attribute? :sdr_relay_uav_quality, Types::Integer
275
279
  end
276
280
 
277
281
  attribute? :working_current, Types::Integer
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DjiMqttConnect
4
- VERSION = "0.1.31.1"
4
+ VERSION = "0.1.31.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dji_mqtt_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.31.1
4
+ version: 0.1.31.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sphere Drones
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-10-31 00:00:00.000000000 Z
11
+ date: 2025-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport