openc3-cosmos-demo 5.15.0 → 5.15.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da07845c2a468fd4a90837e5098c60e0daf48d4e4504de27d1a272fbd764b931
|
4
|
+
data.tar.gz: 80e1b0cda201edb402797a0f72a852db20103b795c96e776062b2b4ace8c9b54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8093f1aa51a6c88a03d7aa54e42dedeffdd1f50e23d00022b15e1b4e04313e858b1240cb26bf897121a71f93867726e614df42886cd4f25a913602d93e683c5a
|
7
|
+
data.tar.gz: 052c322247edb795e5311f67db037ab2b688ec34b33c0d791adf1e43681d3b64c67b96a0ecaebe13dce561362d338fb4e8bb0007d823af69e56402598451bd19
|
@@ -1,9 +1,7 @@
|
|
1
1
|
put_target_file("INST/test.txt", "this is a string test")
|
2
|
-
download_file("INST/test.txt")
|
2
|
+
download_file("INST/test.txt")
|
3
3
|
file = get_target_file("INST/test.txt")
|
4
4
|
puts file.read
|
5
|
-
file.rewind # rewind so download_file can read
|
6
|
-
download_file(file) # download using file
|
7
5
|
file.delete
|
8
6
|
delete_target_file("INST/test.txt")
|
9
7
|
|
@@ -18,6 +16,7 @@ file.delete
|
|
18
16
|
delete_target_file("INST/test.txt")
|
19
17
|
|
20
18
|
put_target_file("INST/test.bin", "\x00\x01\x02\x03\xFF\xEE\xDD\xCC")
|
19
|
+
download_file("INST/test.bin")
|
21
20
|
file = get_target_file("INST/test.bin")
|
22
21
|
puts file.read.formatted
|
23
22
|
file.delete
|
@@ -2,11 +2,9 @@ from openc3.utilities.string import formatted
|
|
2
2
|
import tempfile
|
3
3
|
|
4
4
|
put_target_file("INST/test.txt", "this is a string test")
|
5
|
-
download_file("INST/test.txt")
|
5
|
+
download_file("INST/test.txt")
|
6
6
|
file = get_target_file("INST/test.txt")
|
7
7
|
print(file.read())
|
8
|
-
file.seek(0) # rewind so download_file can read
|
9
|
-
download_file(file) # download using file
|
10
8
|
file.close() # closing deletes tempfile
|
11
9
|
delete_target_file("INST/test.txt")
|
12
10
|
|
@@ -20,9 +18,9 @@ print(file.read())
|
|
20
18
|
file.close()
|
21
19
|
delete_target_file("INST/test.txt")
|
22
20
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
21
|
+
put_target_file("INST/test.bin", b"\x00\x01\x02\x03\xFF\xEE\xDD\xCC")
|
22
|
+
download_file("INST/test.bin")
|
23
|
+
file = get_target_file("INST/test.bin")
|
24
|
+
print(formatted(file.read()))
|
25
|
+
file.close()
|
26
|
+
delete_target_file("INST/test.bin")
|
@@ -9,10 +9,9 @@ buffer = ""
|
|
9
9
|
# i = 1
|
10
10
|
# num_segments = 5 # calculate based on TBL_FILENAME
|
11
11
|
# table_id = 1 # calculate based on TBL_FILENAME
|
12
|
-
# while i < num_segments
|
12
|
+
# while i < num_segments:
|
13
13
|
# # Request a part of the table buffer
|
14
|
-
# cmd("TGT DUMP with TABLE_ID
|
14
|
+
# cmd(f"TGT DUMP with TABLE_ID {table_id}, SEGMENT {i}")
|
15
15
|
# buffer += tlm("TGT DUMP_PKT DATA")
|
16
16
|
# i += 1
|
17
|
-
# end
|
18
17
|
put_target_file(os.getenv("TBL_FILENAME"), buffer)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openc3-cosmos-demo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.15.
|
4
|
+
version: 5.15.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Melton
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-03-
|
12
|
+
date: 2024-03-15 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: |2
|
15
15
|
This plugin adds the OpenC3 COSMOS demo configuration to a base OpenC3 COSMOS installation.
|