dji_mqtt_connect 0.1.25.3 → 0.1.25.4

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: 891ae518b686e07f8c6f44040136490d14fffcf43d0508b19d862da4dfefa408
4
- data.tar.gz: 1e181b30070e686e00101986bc2df0d5fcdaad891bdb1fc9744cc7503780eb10
3
+ metadata.gz: 535f2ea0c0b7fa42a22ebc1283f9726cefae1a45b08766a9118f7d552fa87c0b
4
+ data.tar.gz: fb00179a653831c600f3d300d37408821eb15b58dec3ff114b02699a3f6c01d4
5
5
  SHA512:
6
- metadata.gz: 1c28e77b6c05fc04aa9fc9ced1de07811c79a7f7dea742bcdb279670b45dca049090dcd1f4c522691bd5aa115a7aa7010f799e5aabbfb7c0d69d0df1b984b33e
7
- data.tar.gz: 9fd71b52f98c3331775e9f3e1f7afd8f6f731d0d25a0b4658f021e03bbf59cf8767106ff3964ff196593f1ca7665ce124953e4ae80384cb13c3e2317e9a6db11
6
+ metadata.gz: 2fcf77d9c0e2323f6d332fa7eab029790335fc1ed1dff34c587a014b8f337221fe76d122281b1e5b6ad2ca406a566172c40df3857a8e399bb931be9ebf1f8521
7
+ data.tar.gz: 9fbae0e0c06d0d335b0be786febfd5802f729d7afa4ceaad4463d625a19b1dadca4ea6f212a6dfcf8171030a462dc40e838f38376e98ea161ad688bf7ab33400
@@ -217,8 +217,7 @@ module DjiMqttConnect
217
217
  attribute :used, Types::Integer
218
218
  end
219
219
 
220
- # {"0":"Idle","1":"On-site debugging","2":"Remote debugging","3":"Firmware upgrading","4":"Working"}
221
- attribute? :mode_code, Types::Integer.enum(0, 1, 2, 3, 4)
220
+ attribute? :mode_code, Types::DockModeCode
222
221
 
223
222
  attribute? :air_conditioner do
224
223
  attribute :air_conditioner_state, AirConditionerState | Types::Integer
@@ -49,6 +49,22 @@ module DjiMqttConnect
49
49
  CAMERA_MODE_TIMED_SHOT = 4
50
50
  )
51
51
 
52
+ # {"0":"Idle","1":"On-site debugging","2":"Remote debugging","3":"Firmware upgrading","4":"Working"}
53
+ DockModeCode = Integer.enum(
54
+ DOCK_MODE_CODE_IDLE = 0,
55
+ DOCK_MODE_CODE_ON_SITE_DEBUGGING = 1,
56
+ DOCK_MODE_CODE_REMOTE_DEBUGGING = 2,
57
+ DOCK_MODE_CODE_UPGRADE = 3,
58
+ DOCK_MODE_CODE_TASK_IN_PROGRESS = 4,
59
+ DOCK_MODE_CODE_OFFLINE = 5,
60
+ DOCK_MODE_CODE_EMERGENCY_STOP = 7,
61
+ DOCK_MODE_CODE_PREPARING_JOB = 47,
62
+ DOCK_MODE_CODE_JOB_IN_PROGRESS = 48,
63
+ DOCK_MODE_CODE_JOB_IN_DONE = 49,
64
+ DOCK_MODE_CODE_CUSTOM_FLIGHT_AREA_UPDATE = 50,
65
+ DOCK_MODE_CODE_TERRAIN_OBSTACLE_UPDATE = 51
66
+ )
67
+
52
68
  # {"0":"Standby","1":"Takeoff preparation","2":"Takeoff preparation completed","3":"Manual flight","4":"Automatic takeoff","5":"Wayline flight","6":"Panoramic photography","7":"Intelligent tracking","8":"ADS-B avoidance","9":"Auto returning to home","10":"Automatic landing","11":"Forced landing","12":"Three-blade landing","13":"Upgrading","14":"Not connected","15":"APAS","16":"Virtual stick state","17":"Live Flight Controls","18":"Airborne RTK fixing mode","19":"Dock address selecting","20":"POI"}
53
69
  DroneModeCode = Types::Integer.enum(
54
70
  DRONE_MODE_STANDBY = 0,
@@ -71,7 +87,11 @@ module DjiMqttConnect
71
87
  DRONE_MODE_LIVE_FLIGHT_CONTROLS = 17,
72
88
  DRONE_MODE_AIRBORNE_RTK_FIXING_MODE = 18,
73
89
  DRONE_MODE_DOCK_ADDRESS_SELECTING = 19,
74
- DRONE_MODE_POI = 20
90
+ DRONE_MODE_POI = 20,
91
+ DRONE_MODE_SHUT_DOWN_IN_DOCK = 353101,
92
+ DRONE_MODE_STARTING_UP = 353102,
93
+ DRONE_MODE_NOT_REPORTED = 100,
94
+ DRONE_MODE_FAILED = 65535
75
95
  )
76
96
 
77
97
  # {"0":"Operation preparation","1":"In-flight operation","2":"Post-operation state recovery","3":"Custom flight area updating","4":"Terrain obstacle updating","5":"Mission idle","255":"Aircraft is abnormal","256":"Unknown state"}
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DjiMqttConnect
4
- VERSION = "0.1.25.3"
4
+ VERSION = "0.1.25.4"
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.25.3
4
+ version: 0.1.25.4
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-02-13 00:00:00.000000000 Z
11
+ date: 2025-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -114,7 +114,6 @@ files:
114
114
  - ".rubocop/style.yml"
115
115
  - CHANGELOG.md
116
116
  - Gemfile
117
- - Gemfile.lock
118
117
  - README.md
119
118
  - Rakefile
120
119
  - config/locales/flighttask_status.en.yml
data/Gemfile.lock DELETED
@@ -1,168 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- dji_mqtt_connect (0.1.25.3)
5
- activesupport (>= 6.0, <= 8)
6
- dry-struct (~> 1.7)
7
- dry-transformer (~> 1.0)
8
- json (~> 2.10)
9
- mqtt (~> 0.6.0)
10
- wisper (~> 2.0)
11
-
12
- GEM
13
- remote: https://rubygems.org/
14
- specs:
15
- activejob (7.2.2.1)
16
- activesupport (= 7.2.2.1)
17
- globalid (>= 0.3.6)
18
- activesupport (7.2.2.1)
19
- base64
20
- benchmark (>= 0.3)
21
- bigdecimal
22
- concurrent-ruby (~> 1.0, >= 1.3.1)
23
- connection_pool (>= 2.2.5)
24
- drb
25
- i18n (>= 1.6, < 2)
26
- logger (>= 1.4.2)
27
- minitest (>= 5.1)
28
- securerandom (>= 0.3)
29
- tzinfo (~> 2.0, >= 2.0.5)
30
- ast (2.4.2)
31
- base64 (0.2.0)
32
- benchmark (0.4.0)
33
- bigdecimal (3.1.9)
34
- concurrent-ruby (1.3.5)
35
- connection_pool (2.5.0)
36
- diff-lcs (1.5.1)
37
- docile (1.4.1)
38
- drb (2.2.1)
39
- dry-core (1.1.0)
40
- concurrent-ruby (~> 1.0)
41
- logger
42
- zeitwerk (~> 2.6)
43
- dry-inflector (1.2.0)
44
- dry-logic (1.6.0)
45
- bigdecimal
46
- concurrent-ruby (~> 1.0)
47
- dry-core (~> 1.1)
48
- zeitwerk (~> 2.6)
49
- dry-struct (1.7.1)
50
- dry-core (~> 1.1)
51
- dry-types (~> 1.8, >= 1.8.2)
52
- ice_nine (~> 0.11)
53
- zeitwerk (~> 2.6)
54
- dry-transformer (1.0.1)
55
- zeitwerk (~> 2.6)
56
- dry-types (1.8.2)
57
- bigdecimal (~> 3.0)
58
- concurrent-ruby (~> 1.0)
59
- dry-core (~> 1.0)
60
- dry-inflector (~> 1.0)
61
- dry-logic (~> 1.4)
62
- zeitwerk (~> 2.6)
63
- globalid (1.2.1)
64
- activesupport (>= 6.1)
65
- i18n (1.14.7)
66
- concurrent-ruby (~> 1.0)
67
- ice_nine (0.11.2)
68
- json (2.10.1)
69
- language_server-protocol (3.17.0.4)
70
- lint_roller (1.1.0)
71
- logger (1.6.5)
72
- minitest (5.25.4)
73
- mqtt (0.6.0)
74
- parallel (1.26.3)
75
- parser (3.3.7.1)
76
- ast (~> 2.4.1)
77
- racc
78
- racc (1.8.1)
79
- rainbow (3.1.1)
80
- rake (13.2.1)
81
- regexp_parser (2.10.0)
82
- rspec (3.13.0)
83
- rspec-core (~> 3.13.0)
84
- rspec-expectations (~> 3.13.0)
85
- rspec-mocks (~> 3.13.0)
86
- rspec-core (3.13.3)
87
- rspec-support (~> 3.13.0)
88
- rspec-expectations (3.13.3)
89
- diff-lcs (>= 1.2.0, < 2.0)
90
- rspec-support (~> 3.13.0)
91
- rspec-mocks (3.13.2)
92
- diff-lcs (>= 1.2.0, < 2.0)
93
- rspec-support (~> 3.13.0)
94
- rspec-support (3.13.2)
95
- rubocop (1.71.2)
96
- json (~> 2.3)
97
- language_server-protocol (>= 3.17.0)
98
- parallel (~> 1.10)
99
- parser (>= 3.3.0.2)
100
- rainbow (>= 2.2.2, < 4.0)
101
- regexp_parser (>= 2.9.3, < 3.0)
102
- rubocop-ast (>= 1.38.0, < 2.0)
103
- ruby-progressbar (~> 1.7)
104
- unicode-display_width (>= 2.4.0, < 4.0)
105
- rubocop-ast (1.38.0)
106
- parser (>= 3.3.1.0)
107
- rubocop-capybara (2.20.0)
108
- rubocop (~> 1.41)
109
- rubocop-factory_bot (2.25.1)
110
- rubocop (~> 1.41)
111
- rubocop-performance (1.23.1)
112
- rubocop (>= 1.48.1, < 2.0)
113
- rubocop-ast (>= 1.31.1, < 2.0)
114
- rubocop-rake (0.6.0)
115
- rubocop (~> 1.0)
116
- rubocop-rspec (3.4.0)
117
- rubocop (~> 1.61)
118
- ruby-progressbar (1.13.0)
119
- securerandom (0.4.1)
120
- simplecov (0.22.0)
121
- docile (~> 1.1)
122
- simplecov-html (~> 0.11)
123
- simplecov_json_formatter (~> 0.1)
124
- simplecov-html (0.13.1)
125
- simplecov_json_formatter (0.1.4)
126
- standard (1.45.0)
127
- language_server-protocol (~> 3.17.0.2)
128
- lint_roller (~> 1.0)
129
- rubocop (~> 1.71.0)
130
- standard-custom (~> 1.0.0)
131
- standard-performance (~> 1.6)
132
- standard-custom (1.0.2)
133
- lint_roller (~> 1.0)
134
- rubocop (~> 1.50)
135
- standard-performance (1.6.0)
136
- lint_roller (~> 1.1)
137
- rubocop-performance (~> 1.23.0)
138
- tzinfo (2.0.6)
139
- concurrent-ruby (~> 1.0)
140
- unicode-display_width (3.1.4)
141
- unicode-emoji (~> 4.0, >= 4.0.4)
142
- unicode-emoji (4.0.4)
143
- wisper (2.0.1)
144
- wisper-rspec (1.1.0)
145
- zeitwerk (2.7.1)
146
-
147
- PLATFORMS
148
- arm64-darwin-22
149
- arm64-darwin-23
150
- x86_64-darwin-21
151
- x86_64-linux
152
-
153
- DEPENDENCIES
154
- activejob
155
- dji_mqtt_connect!
156
- rake (~> 13.0)
157
- rspec (~> 3.0)
158
- rubocop (~> 1.21)
159
- rubocop-capybara
160
- rubocop-factory_bot
161
- rubocop-rake
162
- rubocop-rspec
163
- simplecov
164
- standard (~> 1.0)
165
- wisper-rspec
166
-
167
- BUNDLED WITH
168
- 2.4.6