dji_mqtt_connect 0.1.13 → 0.1.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/dji_mqtt_connect/factories.rb +42 -0
- data/lib/dji_mqtt_connect/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c144a661c638e1cab414b4798f2fad92e0f39f9fe4f8e433b0140073f92b0735
|
4
|
+
data.tar.gz: 21df706b1a4f9dafbd3c8286113dea89cd476d292811cb1d2ba4f59a920d7d83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '07308e461f220bb9b2e41210a673a00cbcaac25856c00ba019999db97e978d6c8cc37b0125a4f49784edae8956e6c3759a11c5abbdd07e3cd74381969c9b243e'
|
7
|
+
data.tar.gz: 651bfdc62aaacac40908c807d59903bf09a866fccd4a80aa91e2c8d5cd0db0e24e39b5710329591e99263cf834ecfa2b1787fd55ff608727daec0c2c06856f9e
|
data/Gemfile.lock
CHANGED
@@ -603,6 +603,27 @@ module DjiMqttConnect
|
|
603
603
|
)
|
604
604
|
end
|
605
605
|
|
606
|
+
def build_thing_product_cover_close_events_message
|
607
|
+
message_data = {
|
608
|
+
result: 0,
|
609
|
+
output: {
|
610
|
+
status: "in_progress",
|
611
|
+
progress: {
|
612
|
+
percent: 50
|
613
|
+
}
|
614
|
+
}
|
615
|
+
}
|
616
|
+
|
617
|
+
Thing::Product::CoverCloseEventsMessage.new(
|
618
|
+
bid: Message.generate_bid,
|
619
|
+
tid: Message.generate_tid,
|
620
|
+
timestamp: Message.current_timestamp,
|
621
|
+
_method: "cover_close",
|
622
|
+
data: message_data,
|
623
|
+
_data: message_data
|
624
|
+
)
|
625
|
+
end
|
626
|
+
|
606
627
|
def build_thing_product_cover_open_services_reply_message
|
607
628
|
message_data = {
|
608
629
|
result: 0,
|
@@ -621,6 +642,27 @@ module DjiMqttConnect
|
|
621
642
|
)
|
622
643
|
end
|
623
644
|
|
645
|
+
def build_thing_product_cover_open_events_message
|
646
|
+
message_data = {
|
647
|
+
result: 0,
|
648
|
+
output: {
|
649
|
+
status: "in_progress",
|
650
|
+
progress: {
|
651
|
+
percent: 60
|
652
|
+
}
|
653
|
+
}
|
654
|
+
}
|
655
|
+
|
656
|
+
Thing::Product::CoverOpenEventsMessage.new(
|
657
|
+
bid: Message.generate_bid,
|
658
|
+
tid: Message.generate_tid,
|
659
|
+
timestamp: Message.current_timestamp,
|
660
|
+
_method: "cover_open",
|
661
|
+
data: message_data,
|
662
|
+
_data: message_data
|
663
|
+
)
|
664
|
+
end
|
665
|
+
|
624
666
|
def build_thing_product_debug_mode_close_services_reply_message
|
625
667
|
message_data = {
|
626
668
|
result: 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.13
|
4
|
+
version: 0.1.13.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: 2023-06-
|
11
|
+
date: 2023-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|