dji_mqtt_connect 0.1.40 → 0.1.40.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 61b1473bfaa9e9e9f316d3361492019e2203efdb39dd231236e4f96294930269
|
|
4
|
+
data.tar.gz: b665e66d5391368a480ed4925344647c29d31a9e4385a12960a0451e5660c9af
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 99c1804674152cd57bd3e3578f4f164c6f9539b1b003413e594a7dd5f79e2e904dafeb25a36a6fe1fb450cd73ffa878d507ac1ecffd05f1ac2ec9097361697c5
|
|
7
|
+
data.tar.gz: 7c70bb660c3d520cb883f004ea48e6bc38c13a8ef9a95756680c8f186dd8d315e33cbb86ad08fb15297cac5504b0210c655a3decb74a4669587c23a996255bdd
|
|
@@ -20,8 +20,12 @@ module DjiMqttConnect
|
|
|
20
20
|
|
|
21
21
|
attribute :progress do
|
|
22
22
|
# {"3000":"Panorama photo capturing is not start or is finished","3002":"Panorama photo is capturing","3005":"Panorama photo is synthesizing"}
|
|
23
|
-
# NOTE:
|
|
24
|
-
attribute :current_step, Types::Integer
|
|
23
|
+
# NOTE: real messages have been observed with current_step: 0, which isn't a documented value
|
|
24
|
+
attribute :current_step, Types::PanoramaStep | Types::Integer
|
|
25
|
+
|
|
26
|
+
def current_step?
|
|
27
|
+
Types::PanoramaStep.valid?(current_step)
|
|
28
|
+
end
|
|
25
29
|
|
|
26
30
|
attribute :percent, Types::Integer.constrained(gteq: 0, lteq: 100)
|
|
27
31
|
end
|
|
@@ -76,6 +76,13 @@ module DjiMqttConnect
|
|
|
76
76
|
CAMERA_RECORDING_STATE_RECORDING = 1
|
|
77
77
|
)
|
|
78
78
|
|
|
79
|
+
# {"3000":"Panorama photo capturing is not start or is finished","3002":"Panorama photo is capturing","3005":"Panorama photo is synthesizing"}
|
|
80
|
+
PanoramaStep = Types::Integer.enum(
|
|
81
|
+
PANORAMA_STEP_NOT_STARTED_OR_FINISHED = 3000,
|
|
82
|
+
PANORAMA_STEP_CAPTURING = 3002,
|
|
83
|
+
PANORAMA_STEP_SYNTHESIZING = 3005
|
|
84
|
+
)
|
|
85
|
+
|
|
79
86
|
# {"0":"Closed","1":"Opened","2":"Half-open","3":"Cover state is abnormal"}
|
|
80
87
|
CoverState = Types::Integer.enum(
|
|
81
88
|
COVER_STATE_CLOSED = 0,
|
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.40
|
|
4
|
+
version: 0.1.40.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sphere Drones
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|