Compare commits

...

251 Commits

Author SHA1 Message Date
Robin Müller 9a55686a26 Merge pull request 'Some more fixes' (#298) from some-more-fixes-for-tmtccmd-bump into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #298
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-05-13 14:06:00 +02:00
Robin Müller 067a016040
another small fix
EIVE/-/pipeline/head This commit looks good Details
EIVE/-/pipeline/pr-main This commit looks good Details
2024-05-08 10:56:16 +02:00
Robin Müller dccbf89da1
some more fixes
EIVE/-/pipeline/head This commit looks good Details
2024-05-08 10:49:20 +02:00
Robin Müller 5cf76c07e9 Merge pull request 'Bump tmtccmd and fix CFDP' (#297) from bump-tmtccmd-fix-cfdp into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #297
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-05-07 14:17:40 +02:00
Robin Müller bc53f7e81a Merge remote-tracking branch 'origin/main' into bump-tmtccmd-fix-cfdp
EIVE/-/pipeline/head Build started... Details
2024-05-07 14:10:05 +02:00
Robin Müller d6b879da67 bump tmtccmd and fix CFDP code
EIVE/-/pipeline/head Build started... Details
2024-05-07 14:07:18 +02:00
Robin Müller 9a06c64dfa prep v7.0.0
EIVE/-/pipeline/head This commit looks good Details
2024-05-06 14:18:57 +02:00
Robin Müller cc7837a55b Merge pull request 'MPSoC Overhaul' (#296) from mpsoc-overhaul into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #296
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-05-06 14:18:02 +02:00
Robin Müller 9cc4fa702c renaming
EIVE/-/pipeline/pr-main Build started... Details
2024-05-06 14:10:30 +02:00
Robin Müller ada099cab1 events
EIVE/-/pipeline/pr-main This commit looks good Details
2024-05-06 13:48:22 +02:00
Robin Müller 376f94b167 update events
EIVE/-/pipeline/pr-main This commit looks good Details
2024-05-06 13:18:27 +02:00
Robin Müller 86a68e25f7 need to fix action reply handler
EIVE/-/pipeline/head This commit looks good Details
2024-05-06 11:23:31 +02:00
Robin Müller 5e1b12fa52 Merge remote-tracking branch 'origin/main' into mpsoc-overhaul
EIVE/-/pipeline/pr-main This commit looks good Details
2024-04-30 14:36:41 +02:00
Robin Müller de34952df5 less confusing cmd names 2024-04-30 14:36:11 +02:00
Marius Eggert 5da55c3c99 Merge pull request 'PLOC SUPV TM handling' (#293) from ploc-supv-tm-handling into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #293
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-04-29 11:44:20 +02:00
Marius Eggert 3b903e5639 Merge branch 'main' into ploc-supv-tm-handling
EIVE/-/pipeline/pr-main Build queued... Details
2024-04-29 11:43:14 +02:00
Marius Eggert da35c7fdf1 Merge pull request 'added missing act cmd' (#295) from gnss-improv into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #295
2024-04-29 11:42:51 +02:00
Marius Eggert 8c7cbd1bd6 changelog
EIVE/-/pipeline/pr-main Build queued... Details
2024-04-29 11:41:03 +02:00
Marius Eggert ba0a3e35d2 cleanup
EIVE/-/pipeline/pr-main Build started... Details
2024-04-29 11:40:00 +02:00
Marius Eggert fc2667c150 Merge branch 'main' into gnss-improv
EIVE/-/pipeline/pr-main Build started... Details
2024-04-29 11:33:10 +02:00
Robin Müller f9041f215a how the fuck did that work the last time?
EIVE/-/pipeline/pr-main This commit looks good Details
2024-04-26 15:27:44 +02:00
Robin Müller a59aceda75 odd things happening here
EIVE/-/pipeline/pr-main This commit looks good Details
2024-04-26 14:36:02 +02:00
Robin Müller c50f8c2ce2 some fixes
EIVE/-/pipeline/pr-main This commit looks good Details
2024-04-26 13:53:39 +02:00
Robin Müller dfa45dbdba
added some commands for preparing flash
EIVE/-/pipeline/pr-main This commit looks good Details
2024-04-25 17:26:57 +02:00
Robin Müller 36d9323b57
added commands for flash formatting
EIVE/-/pipeline/pr-main This commit looks good Details
2024-04-25 12:11:18 +02:00
Robin Müller e04b5bf9d7
Merge remote-tracking branch 'origin/main' into mpsoc-overhaul
EIVE/-/pipeline/pr-main This commit looks good Details
2024-04-25 12:04:37 +02:00
Marius Eggert 3c0ac91227 Merge pull request 'CLock Events' (#291) from clock-events into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #291
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-04-17 16:43:29 +02:00
Robin Müller f61c485979 Merge branch 'main' into clock-events
EIVE/-/pipeline/pr-main This commit looks good Details
2024-04-17 16:20:09 +02:00
Robin Müller 2ebbf750bd
handling for new clock events 2024-04-17 16:19:58 +02:00
Robin Müller 847fccbe66 Merge pull request 'test script' (#294) from bestest-script into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #294
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-04-17 16:19:24 +02:00
Robin Müller c8292f4ee1 Merge branch 'main' into bestest-script
EIVE/-/pipeline/pr-main This commit looks good Details
2024-04-17 15:05:45 +02:00
Robin Müller 3700769e46 Merge remote-tracking branch 'origin/main' into ploc-supv-tm-handling
EIVE/-/pipeline/head Build queued... Details
EIVE/-/pipeline/pr-main There was a failure building this commit Details
2024-04-17 15:04:57 +02:00
Robin Müller 69fda96d7a
bump major version
EIVE/-/pipeline/head This commit looks good Details
EIVE/-/pipeline/pr-main This commit looks good Details
2024-04-17 15:02:20 +02:00
Robin Müller 0c51cad813
remove old boot verification cmd
EIVE/-/pipeline/head This commit looks good Details
2024-04-17 14:51:44 +02:00
Robin Müller 05d5955236
split up in store file and stream file
EIVE/-/pipeline/head This commit looks good Details
2024-04-17 14:43:15 +02:00
Robin Müller 18860ec2c6
tricky
EIVE/-/pipeline/head This commit looks good Details
2024-04-17 13:20:46 +02:00
Robin Müller fc5fb0eed3
add new submode commands
EIVE/-/pipeline/head This commit looks good Details
2024-04-17 13:10:13 +02:00
Robin Müller d5bb6fe6c5
re-run generators
EIVE/-/pipeline/head This commit looks good Details
2024-04-17 11:22:41 +02:00
Robin Müller 37eafb722b
this should do the job
EIVE/-/pipeline/head This commit looks good Details
2024-04-11 10:52:14 +02:00
Robin Müller 1cafdc817f
clock events
EIVE/-/pipeline/head This commit looks good Details
EIVE/-/pipeline/pr-main This commit looks good Details
2024-04-10 17:34:54 +02:00
Robin Müller 5967dede97
add new events for clock handling
EIVE/-/pipeline/head This commit looks good Details
2024-04-10 17:27:24 +02:00
Marius Eggert a8d0143b1e Merge pull request 'Prep v6.2.0' (#290) from prep-v6.2.0 into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #290
2024-04-10 11:51:24 +02:00
Marius Eggert a0ad5f8948 reran gens 2024-04-10 11:50:15 +02:00
Marius Eggert 20ecef5838 linter
EIVE/-/pipeline/head Build queued... Details
2024-04-10 11:48:04 +02:00
Marius Eggert 6d97841cbf bump version
EIVE/-/pipeline/head Build queued... Details
2024-04-10 11:47:05 +02:00
Marius Eggert 512f0e4530 changelog 2024-04-10 11:46:35 +02:00
Marius Eggert e2f0221681 Merge pull request 'GNSS Fixes' (#289) from gnss-fixes into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #289
Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
2024-04-10 11:34:58 +02:00
Marius Eggert e9eb45c088 Merge branch 'main' into gnss-fixes 2024-04-10 11:34:39 +02:00
Marius Eggert ea72087d87 Merge pull request 'allow setting health for payload components' (#287) from set-health-cmd-payload into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #287
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-04-10 11:34:30 +02:00
Robin Müller d48c029b85 Merge branch 'main' into gnss-fixes
EIVE/-/pipeline/pr-main Build queued... Details
2024-04-10 11:30:01 +02:00
Robin Müller b5f4f2ddab
changelog
EIVE/-/pipeline/pr-main Build started... Details
2024-04-10 11:29:19 +02:00
Robin Müller 64dd19bd12 Merge branch 'main' into set-health-cmd-payload
EIVE/-/pipeline/pr-main Build started... Details
2024-04-10 11:28:43 +02:00
Marius Eggert 102821fc71 Merge pull request 'Some PLOC commanding fixes' (#288) from ploc-tree-test into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #288
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-04-09 14:41:10 +02:00
Marius Eggert 24f3abdd5a Merge branch 'main' into ploc-tree-test 2024-04-09 14:40:36 +02:00
Marius Eggert a880db5655 changelog
EIVE/-/pipeline/pr-main This commit looks good Details
2024-04-09 14:34:23 +02:00
Marius Eggert 4e0cbb1034 Merge branch 'main' into gnss-fixes 2024-04-09 14:33:33 +02:00
Robin Müller 96636d59e9 Merge pull request 'relative timeshift' (#286) from relative-timeshift into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #286
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-04-09 14:32:28 +02:00
Robin Müller 7dfdd40963 fixed PLOC mode commanding
EIVE/-/pipeline/pr-main Build queued... Details
2024-04-09 14:31:41 +02:00
Marius Eggert 6282686f2f lets just change the tmtc structure he said. everything will still work he said
EIVE/-/pipeline/head This commit looks good Details
2024-04-09 13:29:01 +02:00
Robin Müller b160f079b1 small bugfix
EIVE/-/pipeline/head This commit looks good Details
2024-04-09 13:19:25 +02:00
Robin Müller 11d7ad0f8d start fixing PLOC tree
EIVE/-/pipeline/head This commit looks good Details
2024-04-09 11:32:57 +02:00
Robin Müller 5af69eb14e add supervisor
EIVE/-/pipeline/pr-main This commit looks good Details
2024-04-08 13:40:37 +02:00
Robin Müller 5a0edbefa8 fix comment block
EIVE/-/pipeline/pr-main This commit looks good Details
2024-04-08 13:38:28 +02:00
Robin Müller 5bdba2dbad update events
EIVE/-/pipeline/pr-main This commit looks good Details
2024-04-08 13:35:34 +02:00
Robin Müller 3ae6ccfb77 this should do the job 2024-04-08 13:35:06 +02:00
Robin Müller de84bf112b changelog
EIVE/-/pipeline/pr-main This commit looks good Details
2024-04-08 13:25:45 +02:00
Robin Müller d182a9d5ec re-run black 2024-04-08 13:24:40 +02:00
Robin Müller c72a04b262 allow setting health for payload components
EIVE/-/pipeline/head This commit looks good Details
2024-04-08 11:36:25 +02:00
Robin Müller 492d364246 relative timeshift
EIVE/-/pipeline/head This commit looks good Details
2024-04-08 11:35:05 +02:00
Robin Müller 33cf7b1613 Merge pull request 'Fix for Heater Cmd' (#284) from heater-health into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #284
2024-04-02 13:28:06 +02:00
Robin Müller d8c49aed80 Merge branch 'main' into heater-health 2024-04-02 13:27:56 +02:00
Marius Eggert 97afd24e52 Merge pull request 'EPS command bugfix' (#285) from eps-bugfix into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #285
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-03-27 09:01:22 +01:00
Robin Müller 4704616ca7 changelog
EIVE/-/pipeline/head This commit looks good Details
2024-03-26 17:52:41 +01:00
Robin Müller 92c0172b59 bugfix for EPS
EIVE/-/pipeline/head This commit looks good Details
2024-03-26 17:50:37 +01:00
Robin Müller 344f16099e test script
EIVE/-/pipeline/head This commit looks good Details
2024-03-19 11:48:24 +01:00
Marius Eggert 49b55f01e3 s
EIVE/-/pipeline/head This commit looks good Details
EIVE/-/pipeline/pr-main This commit looks good Details
2024-03-18 11:11:20 +01:00
Robin Müller f87095bf68 Merge pull request 'STR Improv' (#283) from str-version into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #283
Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
2024-03-14 10:55:59 +01:00
Marius Eggert 928759d1bc changelog
EIVE/-/pipeline/pr-main This commit looks good Details
2024-03-13 13:47:02 +01:00
Marius Eggert dc17919108 smoll fix
EIVE/-/pipeline/head Build started... Details
2024-03-13 13:44:15 +01:00
Marius Eggert 5f71f27f0e size check
EIVE/-/pipeline/head This commit looks good Details
2024-03-13 10:18:37 +01:00
Marius Eggert f8d63e56cb version set
EIVE/-/pipeline/head This commit looks good Details
2024-03-13 10:00:45 +01:00
Marius Eggert c843356c8a Merge pull request 'Prep v6.1.1' (#282) from prep-v6.1.1 into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #282
2024-03-06 11:03:24 +01:00
Marius Eggert 49a614db10 cleanup
EIVE/-/pipeline/head Build started... Details
2024-03-06 11:02:10 +01:00
Marius Eggert c90dd92162 bump version 2024-03-06 10:59:31 +01:00
Marius Eggert bcb6a8b34e changelog 2024-03-06 10:59:09 +01:00
Marius Eggert ed15bcaf35 Merge pull request 'Leap Seconds' (#281) from leap-seconds into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #281
Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
2024-03-06 10:53:57 +01:00
Marius Eggert 89202f2cfe changelog
EIVE/-/pipeline/pr-main This commit looks good Details
2024-03-06 09:51:03 +01:00
Marius Eggert 40c2a4b1f3 remove printout
EIVE/-/pipeline/head This commit looks good Details
2024-03-05 11:53:00 +01:00
Marius Eggert 811786fd78 update leap seconds act cmd
EIVE/-/pipeline/head This commit looks good Details
2024-03-05 11:43:18 +01:00
Marius Eggert baf1b44d23 added missing act cmd
EIVE/-/pipeline/head This commit looks good Details
EIVE/-/pipeline/pr-main This commit looks good Details
2024-03-01 10:20:07 +01:00
Marius Eggert 73a4260f33 Merge pull request 'Prep v6.1.0' (#280) from prep-v6.1.0 into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #280
2024-02-29 13:24:27 +01:00
Marius Eggert 3358de3e3e changelog
EIVE/-/pipeline/pr-main Build queued... Details
2024-02-29 13:22:06 +01:00
Marius Eggert 211e79c83e bumped version number 2024-02-29 13:20:07 +01:00
Marius Eggert 7f10e5c777 Merge branch 'main' into prep-v6.1.0 2024-02-29 13:19:44 +01:00
Marius Eggert aab35c26c2 reran gens
EIVE/-/pipeline/pr-main Build queued... Details
2024-02-29 13:12:30 +01:00
Robin Müller 6ade001d3d Merge pull request 'New ACS Ctrl Act Cmd' (#278) from acs-ctrl-new-stuff into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #278
Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
2024-02-29 12:34:50 +01:00
Robin Müller 098bdcf82b
changelog 2024-02-29 12:34:04 +01:00
Robin Müller b131415ea7 Merge branch 'main' into acs-ctrl-new-stuff 2024-02-29 12:33:44 +01:00
Marius Eggert b1dd5aa7d0 Merge pull request 'Add BlobStats TM handling STR' (#279) from add-blob-stats-str into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #279
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-02-29 12:33:31 +01:00
Robin Müller 0201eb27c4
changelog
EIVE/-/pipeline/pr-main Build queued... Details
2024-02-29 12:27:27 +01:00
Robin Müller c070f18c5d
small fix
EIVE/-/pipeline/head Build queued... Details
2024-02-29 12:26:02 +01:00
Robin Müller 00876ed0e0
tweak for HK filter feature 2024-02-29 12:09:53 +01:00
Robin Müller 68ea889d0f
added blob stats set for STR
EIVE/-/pipeline/head This commit looks good Details
2024-02-29 12:07:03 +01:00
Marius Eggert 771199e542 added new act cmd
EIVE/-/pipeline/head This commit looks good Details
EIVE/-/pipeline/pr-main This commit looks good Details
2024-02-27 16:26:06 +01:00
Marius Eggert 588d7a8079 Merge pull request 'RW commanding fix' (#277) from rw-commanding-fix into main
EIVE/-/pipeline/head Build queued... Details
Reviewed-on: #277
2024-02-26 14:03:52 +01:00
Marius Eggert 83aff8bea5 Merge branch 'main' into rw-commanding-fix 2024-02-26 14:03:22 +01:00
Marius Eggert 1d982785e6 Merge pull request 'STR secondary firmware slot commands' (#276) from str-secondary-fw-slot-update into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #276
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-02-26 14:01:34 +01:00
Robin Müller d062a22a7a delete old function
EIVE/-/pipeline/pr-main This commit looks good Details
2024-02-20 11:29:20 +01:00
Robin Müller f8c3172e7a changelog
EIVE/-/pipeline/head This commit looks good Details
2024-02-20 11:26:54 +01:00
Robin Müller 7a56c604a6 RW commanding fixes 2024-02-20 11:26:36 +01:00
Robin Müller bbde4b5b20
changelog
EIVE/-/pipeline/pr-main This commit looks good Details
2024-02-19 17:25:06 +01:00
Robin Müller 85fc106a9b
add commanding nodes
EIVE/-/pipeline/head This commit looks good Details
2024-02-19 15:58:34 +01:00
Robin Müller d35bc01397
added command to select STR slot
EIVE/-/pipeline/head This commit looks good Details
2024-02-19 15:27:27 +01:00
Robin Müller d811735b8d
add som enums
EIVE/-/pipeline/head This commit looks good Details
2024-02-19 12:20:32 +01:00
Robin Müller 265077a758
add command for second slot update
EIVE/-/pipeline/head This commit looks good Details
2024-02-19 12:17:34 +01:00
Robin Müller 1cd566a94c Merge pull request 'Fix the Errors of muellerr' (#275) from tm-store-fix into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #275
Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
2024-02-12 10:40:34 +01:00
Marius Eggert 9aa891ef78 fix the errors of muellerr
EIVE/-/pipeline/head This commit looks good Details
EIVE/-/pipeline/pr-main This commit looks good Details
2024-02-09 12:06:38 +01:00
Marius Eggert 329aa76fbf Merge pull request 'prep v6.0.0' (#274) from prep-v6.0.0 into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #274
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-02-08 13:07:09 +01:00
Robin Müller 4633e0cb13
prep v6.0.0
EIVE/-/pipeline/head This commit looks good Details
2024-02-08 12:18:33 +01:00
Marius Eggert a5ebac6266 Merge pull request 'Add SUPV latchup report handling, clean up code' (#273) from add-supv-latchup-report into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #273
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-02-06 13:52:55 +01:00
Robin Müller f3c6b509ec Merge branch 'main' into add-supv-latchup-report
EIVE/-/pipeline/pr-main This commit looks good Details
2024-02-06 11:37:39 +01:00
Marius Eggert 5aefa436f4 Merge pull request 'v6.0.0-dev' (#269) from v6.0.0-dev into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #269
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-02-06 10:28:28 +01:00
Marius Eggert b0b8118dd5 Merge branch 'main' into v6.0.0-dev
EIVE/-/pipeline/pr-main This commit looks good Details
2024-02-05 09:58:44 +01:00
Marius Eggert db384f8e9c Merge pull request 'print fix STR' (#272) from str-print-fix into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #272
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-02-05 09:05:36 +01:00
Robin Müller e5fe0ab95a
Merge branch 'v6.0.0-dev' into add-supv-latchup-report
EIVE/-/pipeline/pr-main This commit looks good Details
2024-01-31 17:06:33 +01:00
Robin Müller 248df1d4df
added missing field parsing
EIVE/-/pipeline/head This commit looks good Details
2024-01-31 16:57:59 +01:00
Robin Müller f93f713b0e
some minor bugfixes
EIVE/-/pipeline/head This commit looks good Details
2024-01-31 16:49:54 +01:00
Robin Müller c6b2edf688
removed old commands
EIVE/-/pipeline/head This commit looks good Details
2024-01-31 15:58:43 +01:00
Robin Müller 5e3b60b3af
cleaned up PLOC SUPV a bit
EIVE/-/pipeline/head This commit looks good Details
2024-01-31 15:56:03 +01:00
Robin Müller d69d16c3af
add latchup status report handling
EIVE/-/pipeline/head This commit looks good Details
2024-01-31 15:38:01 +01:00
Robin Müller 6376585c4e Merge remote-tracking branch 'origin/main' into v6.0.0-dev
EIVE/-/pipeline/pr-main This commit looks good Details
2024-01-30 10:54:12 +01:00
Robin Müller 5b4a789c4b print fix
EIVE/-/pipeline/head This commit looks good Details
EIVE/-/pipeline/pr-main This commit looks good Details
2024-01-30 10:39:59 +01:00
Marius Eggert d33013ed58 Merge pull request 'Prep v5.13.0' (#271) from prep-v5.13.0 into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #271
2024-01-30 09:25:47 +01:00
Marius Eggert 7e39a481bd Merge branch 'main' into prep-v5.13.0
EIVE/-/pipeline/pr-main This commit looks good Details
2024-01-30 09:24:06 +01:00
Marius Eggert 4744de8a54 changelog
EIVE/-/pipeline/head This commit looks good Details
2024-01-30 09:17:40 +01:00
Marius Eggert 916ce92bdc bump version 2024-01-30 09:17:31 +01:00
Marius Eggert bb765ac8a0 Merge pull request 'Gens' (#270) from reran-gens into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #270
2024-01-30 09:14:38 +01:00
Marius Eggert 84f0f42783 gens
EIVE/-/pipeline/pr-main This commit looks good Details
2024-01-30 09:10:47 +01:00
Marius Eggert ee2dade270 gens
EIVE/-/pipeline/pr-main This commit looks good Details
2024-01-30 09:07:56 +01:00
Marius Eggert 4f26c34c60 gens
EIVE/-/pipeline/head This commit looks good Details
2024-01-29 17:14:18 +01:00
Marius Eggert b5ae7c5f38 Merge pull request 'Add new param command' (#268) from ploc-mpsoc-skip-supv-commanding-param into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #268
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-01-29 10:15:11 +01:00
Robin Müller 813f92f3d4
some cleaning up and some bugfixes
EIVE/-/pipeline/pr-main This commit looks good Details
2024-01-25 13:27:10 +01:00
Robin Müller f3eecfa8ac
fix TC handler
EIVE/-/pipeline/pr-main This commit looks good Details
2024-01-25 13:03:04 +01:00
Robin Müller b94c20dab1
changelog
EIVE/-/pipeline/pr-main This commit looks good Details
2024-01-25 11:22:10 +01:00
Robin Müller 84aeaa4b65 Merge branch 'ploc-mpsoc-skip-supv-commanding-param' into v6.0.0-dev 2024-01-25 11:20:50 +01:00
Robin Müller caaf937003
changelog
EIVE/-/pipeline/pr-main This commit looks good Details
2024-01-25 11:20:38 +01:00
Robin Müller bcdd12caf0
basic printout for wrong mode reply
EIVE/-/pipeline/pr-main This commit looks good Details
2024-01-25 11:01:46 +01:00
Robin Müller 6440048235
get rid of the stupid legacy printer
EIVE/-/pipeline/pr-main This commit looks good Details
2024-01-25 10:39:43 +01:00
Robin Müller c5dcc0b77d Merge branch 'v6.0.0-dev' of https://egit.irs.uni-stuttgart.de/eive/eive-tmtc into v6.0.0-dev
EIVE/-/pipeline/pr-main This commit looks good Details
2024-01-25 10:36:32 +01:00
Robin Müller ebd9792fb9
some minor fixes 2024-01-25 10:36:23 +01:00
Robin Müller 9f1d61c3ef Merge pull request 'Introduce TM DB' (#255) from introduce_tm_db into v6.0.0-dev
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #255
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-01-25 10:26:06 +01:00
Robin Müller 38eb43cf8d Merge branch 'v6.0.0-dev' into introduce_tm_db
EIVE/-/pipeline/pr-v6.0.0-dev Build started... Details
2024-01-25 10:25:56 +01:00
Robin Müller 3d007c32a3
various fixes for ACS subsystem
EIVE/-/pipeline/head This commit looks good Details
2024-01-25 10:22:04 +01:00
Robin Müller 202a824d31
scex bug
EIVE/-/pipeline/head This commit looks good Details
2024-01-25 10:06:10 +01:00
Robin Müller 79b3c269e6
this works 2024-01-25 10:04:45 +01:00
Robin Müller 839da7a224
Merge branch 'ploc-mpsoc-skip-supv-commanding-param' into v6.0.0-dev
EIVE/-/pipeline/head This commit looks good Details
2024-01-25 10:01:39 +01:00
Marius Eggert 3a6abe1b62 Merge pull request 'Introduce new command definition tree' (#259) from bump-tmtccmd into v6.0.0-dev
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #259
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-01-25 09:43:47 +01:00
Robin Müller db70b33bd6
bump tmtccmd again
EIVE/-/pipeline/pr-v6.0.0-dev This commit looks good Details
2024-01-24 17:59:16 +01:00
Robin Müller d53e9d61b0
Merge remote-tracking branch 'origin/main' into bump-tmtccmd
EIVE/-/pipeline/pr-v6.0.0-dev This commit looks good Details
2024-01-24 17:49:39 +01:00
Robin Müller bac4473aa7 Merge branch 'main' into introduce_tm_db
EIVE/-/pipeline/pr-main This commit looks good Details
2024-01-24 17:40:23 +01:00
Robin Müller 1831ea8b7a
add new param command
EIVE/-/pipeline/head This commit looks good Details
EIVE/-/pipeline/pr-main This commit looks good Details
2024-01-24 14:30:57 +01:00
Robin Müller 747ad34eec
prev v5.12.1
EIVE/-/pipeline/head This commit looks good Details
2023-12-13 11:30:03 +01:00
Marius Eggert 2789453d57 Merge pull request 'the endianness is actually really important here' (#266) from add-cmds-to-test-scheduling into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #266
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2023-12-13 11:28:09 +01:00
Robin Müller 5456d79965
the endianness is actually really important here
EIVE/-/pipeline/head This commit looks good Details
2023-12-13 11:23:55 +01:00
Robin Müller 342a3bbcc9 update PLOC Supversisor TM handling
EIVE/-/pipeline/head This commit looks good Details
2023-12-12 15:28:32 +01:00
Robin Müller 4c54aa7586 Merge pull request 'small fix' (#265) from small-fix into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #265
Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
2023-12-07 13:57:49 +01:00
Marius Eggert 1a132684a6 small fix
EIVE/-/pipeline/head This commit looks good Details
2023-12-07 13:54:09 +01:00
Robin Müller f63a834d9a Merge pull request 'prep v5.12.0' (#264) from prep_v5.12.0 into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #264
2023-12-06 17:23:00 +01:00
Robin Müller 58def42281
re-run generators
EIVE/-/pipeline/head This commit looks good Details
2023-12-06 17:19:56 +01:00
Robin Müller ee955e96fb
prepare v5.12.0 2023-12-06 17:19:01 +01:00
Marius Eggert 97fb8a166f Merge pull request 'New ACS Stuff' (#263) from acs-stuff into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #263
Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
2023-12-06 17:16:55 +01:00
Marius Eggert d477242881 strats
EIVE/-/pipeline/head This commit looks good Details
2023-12-06 14:48:05 +01:00
Marius Eggert 451c2c07ee stuff
EIVE/-/pipeline/head This commit looks good Details
2023-12-05 16:41:29 +01:00
Marius Eggert 8de88127c3 this is much better
EIVE/-/pipeline/head This commit looks good Details
2023-12-05 09:57:07 +01:00
Marius Eggert e7e97ff2d3 i never pushed this lul
EIVE/-/pipeline/head This commit looks good Details
2023-12-01 13:03:38 +01:00
Marius Eggert 35e3f8b572 call action reply handling 2023-12-01 13:02:23 +01:00
Marius Eggert 77010937b8 tle action reply 2023-12-01 13:01:31 +01:00
Marius Eggert c1f4a3f59d more health 2023-12-01 13:01:14 +01:00
Marius Eggert 74e55b16dc Merge pull request 'prepare next release' (#262) from prep_v5.11.0 into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #262
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2023-11-30 14:34:57 +01:00
Robin Müller f1f4a1e9a0
prepare next release
EIVE/-/pipeline/head This commit looks good Details
2023-11-30 10:16:29 +01:00
Robin Müller 7c3a72f85b Merge branch 'main' into introduce_tm_db
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-30 10:12:49 +01:00
Robin Müller 4e25e2e6ca Merge branch 'main' into bump-tmtccmd
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-29 18:34:02 +01:00
Robin Müller eb302e5cf1
use released version of tmtccmd
EIVE/-/pipeline/pr-main There was a failure building this commit Details
2023-11-29 18:33:09 +01:00
Robin Müller 3da1c2c262
add some more ACS devices
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-29 17:27:24 +01:00
Robin Müller 1660e27ec1
hopefully soon done
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-29 17:04:30 +01:00
Marius Eggert 40aa648e6b Merge pull request 'update returnvalues' (#261) from update-retvals into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #261
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2023-11-29 15:49:15 +01:00
Robin Müller 098843a74f
update returnvalues
EIVE/-/pipeline/head This commit looks good Details
2023-11-29 15:15:06 +01:00
Robin Müller 6f86e72042
Merge remote-tracking branch 'origin/main' into bump-tmtccmd
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-29 15:12:48 +01:00
Robin Müller 507c3e3ff3
Merge branch 'introduce_tm_db' into bump-tmtccmd
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-29 15:02:33 +01:00
Robin Müller bca2deae61 Merge branch 'main' into introduce_tm_db
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-29 15:00:09 +01:00
Robin Müller 1ea255d3e8 Merge pull request 'STR reload json cfg cmd' (#257) from str-reload-json-cfg-cmd into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #257
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2023-11-29 14:59:58 +01:00
Robin Müller b1caaff672
Merge remote-tracking branch 'origin/main' into str-reload-json-cfg-cmd
EIVE/-/pipeline/pr-main Build queued... Details
2023-11-29 14:59:41 +01:00
Robin Müller 3b047094e6 Merge pull request 'Disable Order Check PL PCDU' (#260) from disable-order-check-plpcdu into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #260
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2023-11-29 14:56:34 +01:00
Robin Müller 56ebfb1000 Merge branch 'main' into disable-order-check-plpcdu
EIVE/-/pipeline/pr-main Build queued... Details
2023-11-29 14:56:26 +01:00
Robin Müller a41dc9b691 Merge pull request 'PLOC SUPV Extensions' (#258) from ploc-supv-extensions into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #258
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2023-11-29 14:22:40 +01:00
Robin Müller 1d121c40b2 Merge branch 'main' into ploc-supv-extensions
EIVE/-/pipeline/pr-main Build queued... Details
2023-11-29 14:18:32 +01:00
Robin Müller 0a417a89e9 Merge pull request 'Deletion by time range cmd' (#256) from add-deletion-by-time-range-cmd into main
EIVE/-/pipeline/head This commit looks good Details
Reviewed-on: #256
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2023-11-29 14:09:30 +01:00
Robin Müller 35e25bf6d0 small fix for STR node
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-28 17:42:52 +01:00
Robin Müller d4147d8402 not much missing
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-28 17:41:46 +01:00
Robin Müller 3cf312073a continue conversion
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-28 17:34:34 +01:00
Robin Müller 76fee820e9 continuing node setup
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-28 17:24:25 +01:00
Robin Müller d2fc53c1fa cmd history introduction
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-28 16:05:19 +01:00
Robin Müller 7abce63a56 changelog
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-28 15:39:56 +01:00
Robin Müller af24a95475 some fixes and improvements for parsing of TM
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-28 15:35:54 +01:00
Robin Müller 6ea3312b62 that should do the job
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-28 14:20:04 +01:00
Robin Müller d7e61f1395 add new commands to request HK sets
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-28 12:52:13 +01:00
Robin Müller 51227100af added PLOC SUPV TM handling
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-28 12:43:30 +01:00
Robin Müller fc243b76cf
Merge remote-tracking branch 'origin/main' into disable-order-check-plpcdu
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-27 12:20:06 +01:00
Robin Müller 62b16028e6
small fix and tweak
EIVE/-/pipeline/head This commit looks good Details
2023-11-27 12:18:39 +01:00
Robin Müller 4ae659cb4e
changelog update
EIVE/-/pipeline/head This commit looks good Details
2023-11-27 12:01:45 +01:00
Robin Müller 228065bf3b
add new commands to test new feature 2023-11-27 12:01:03 +01:00
Robin Müller 947bcf57f5
done for today
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-22 19:44:24 +01:00
Robin Müller 77c2c91539
health and system cmds
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-22 19:42:26 +01:00
Robin Müller 756944cae3
that should be it
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-22 19:38:04 +01:00
Robin Müller 2bb917eab7
last bugfixes
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-22 19:25:04 +01:00
Robin Müller f756df43a2
last tests 2023-11-22 19:22:51 +01:00
Robin Müller 688602e486
cleaning up
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-22 19:13:22 +01:00
Robin Müller 21a38ae76a
use new the new leaf suppression feature
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-22 18:39:12 +01:00
Robin Müller af02c106b9
looking good
EIVE/-/pipeline/head This commit looks good Details
2023-11-22 16:40:27 +01:00
Robin Müller ae239031ed
removed old service provider API
EIVE/-/pipeline/head This commit looks good Details
2023-11-22 14:13:00 +01:00
Robin Müller d640d547bd
OOF3
EIVE/-/pipeline/head This commit looks good Details
2023-11-22 13:51:33 +01:00
Robin Müller 02d9d6adfc
OOF2
EIVE/-/pipeline/head This commit looks good Details
2023-11-22 11:21:26 +01:00
Robin Müller ba24faefa9
this is hardcore 2023-11-22 10:51:26 +01:00
Robin Müller b3920524ab
OOF 2023-11-22 10:17:05 +01:00
Robin Müller 1508acb7ae Merge remote-tracking branch 'origin/main' into ploc-supv-extensions
EIVE/-/pipeline/head This commit looks good Details
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-21 17:49:01 +01:00
Robin Müller 2642a772ad update generator scripts
EIVE/-/pipeline/head This commit looks good Details
2023-11-21 16:45:10 +01:00
Robin Müller 7c94ab3404 remove old image locations
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-21 16:18:12 +01:00
Robin Müller 38b3166b3f STR reload json cfg cmd
EIVE/-/pipeline/head This commit looks good Details
2023-11-21 15:23:41 +01:00
Robin Müller e285ac1c47 add missing op code
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-16 11:09:47 +01:00
Robin Müller 534d0dc1af
deletion by time range cmd
EIVE/-/pipeline/head This commit looks good Details
2023-11-15 15:48:07 +01:00
Robin Müller 7cb5766a7a
added another helper/wrapper type
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-13 14:50:49 +01:00
Robin Müller 6e87a0249c
no need for file logging here anymore
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-13 13:51:53 +01:00
Robin Müller c0ab3351c9
that's a lot of work..
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-13 13:48:08 +01:00
Robin Müller 2259d269dd
separate function for raw TM insertion
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-13 13:19:42 +01:00
Robin Müller 57a225f926
start adding raw TM DB
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-13 11:37:57 +01:00
Robin Müller d9e4ff6973 Merge remote-tracking branch 'origin/main' into introduce_tm_db
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-13 11:15:02 +01:00
Robin Müller 07b13c153d Merge pull request 'tmtccmd v7.0.0' (#254) from bump_tmtccmd_dependency into main
EIVE/-/pipeline/head There was a failure building this commit Details
Reviewed-on: #254
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2023-11-13 11:14:46 +01:00
Robin Müller 02dc6174bf Merge branch 'main' into introduce_tm_db
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-13 11:13:38 +01:00
Robin Müller ce363e3785
this seems to work well
EIVE/-/pipeline/head This commit looks good Details
2023-11-13 11:12:18 +01:00
Robin Müller b3c3363591
Merge branch 'bump_tmtccmd_dependency' into introduce_tm_db
EIVE/-/pipeline/head This commit looks good Details
2023-11-13 09:50:01 +01:00
Robin Müller aad725a4e5 Merge branch 'main' into bump_tmtccmd_dependency
EIVE/-/pipeline/pr-main This commit looks good Details
2023-11-13 09:07:50 +01:00
Robin Müller fd714a118d Merge pull request 'Auto Switch Enable / Disable' (#246) from auto-switch-image-feature into main
EIVE/-/pipeline/head There was a failure building this commit Details
Reviewed-on: #246
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2023-11-13 09:06:13 +01:00
Robin Müller 4446e471d9
CFDP fixes
EIVE/-/pipeline/head This commit looks good Details
2023-11-13 09:05:34 +01:00
Robin Müller 3fe51b08a6
let's try a DB
EIVE/-/pipeline/head This commit looks good Details
2023-11-13 08:50:51 +01:00
Robin Müller 6a8f48c493
moved high level handler from tmtccmd to EIVE
EIVE/-/pipeline/head This commit looks good Details
2023-11-10 19:37:03 +01:00
Robin Müller 0f6e7eb159
thats a lot of import fixes 2023-11-10 19:23:06 +01:00
Robin Müller c4bd355146 PLOC SUPV extensions
EIVE/-/pipeline/head This commit looks good Details
2023-11-08 18:18:40 +01:00
Robin Müller 92fe9d92de
Merge remote-tracking branch 'origin/main' into auto-switch-image-feature
EIVE/-/pipeline/pr-main This commit looks good Details
2023-10-30 14:45:08 +01:00
Robin Müller 728b7c647c
changelog
EIVE/-/pipeline/head This commit looks good Details
EIVE/-/pipeline/pr-main This commit looks good Details
2023-10-19 15:02:50 +02:00
Robin Müller a5e38a6856
missing log printout 2023-10-19 15:02:24 +02:00
Robin Müller f400dea799
done
EIVE/-/pipeline/head This commit looks good Details
2023-10-19 15:01:23 +02:00
85 changed files with 4428 additions and 2873 deletions

5
.gitignore vendored
View File

@ -6,6 +6,7 @@ log
/gps_log.txt
/config/*.json
/.tmtc-history.txt
/scex_conf.json
/tmtc_conf.json
/seqcnt*.txt
@ -27,3 +28,7 @@ log
/.installed.cfg
/*.egg
/MANIFEST
# Telemetry database.
/tm.db

View File

@ -10,6 +10,89 @@ list yields a list of all related PRs for each release.
# [unreleased]
# [v7.0.0] 2024-05-06
- Reworked PLOC MPSoC commanding to be inline with OBSW update.
## Fixed
- GNSS commands working again (again).
## Added
- Added handling for new clock events.
# [v6.2.0] 2024-04-10
## Added
- Added version set for STR.
- Command for relative timeshift.
- Health commands for payload components.
## Fixed
- EPS power commands working again.
- GNSS commands working again.
## Changed
- Fixed PLOC commanding
# [v6.1.1] 2024-03-06
## Added
- Added Core Ctrl cmd to update leap seconds.
# [v6.1.0] 2024-02-29
## Added
- Added commands to unlock and use STR secondary firmware slot.
- STR BlobStats TM handling
- New ACS CTRL commands.
## Fixed
- RW commanding
# [v6.0.0] 2024-02-08
## Changed
- Bumped `tmccmd` to `v8.0.0rc1` to introduce new command tree handling.
- Added new PLOC SUPV commands to test sets, cleaned up PLOC SUPV commanding.
# [v5.13.0] 2024-01-30
## Added
- First variant of TM handling with a DB which might serve as a foundation for better TM
handling with an ORM in the future.
- Added new parameter commands for PLOC MPSoC to skip SUPV commanding.
# [v5.12.1] 2023-12-13
## Added
- A few new commands to test the TC scheduler.
# [v5.12.0] 2023-12-06
## Added
- New ACS controller commands.
# [v5.11.0] 2023-11-30
## Added
- Added new commands to disable channel order checks partially for the payload PCDU normal modes.
- Core controller auto switch enable and disable command.
- Star Tracker JSON reload command. Reboot still required.
- PLOC SUPV ADC and Counters report TM handling.
# [v5.10.1] 2023-10-27
- Minor improvements, update event translation.

View File

@ -1,20 +1,28 @@
import logging
from spacepackets.cfdp import ConditionCode
from tmtccmd.cfdp.mib import DefaultFaultHandlerBase
from spacepackets.cfdp import ConditionCode, TransactionId
from cfdppy.mib import DefaultFaultHandlerBase
_LOGGER = logging.getLogger(__name__)
class EiveCfdpFaultHandler(DefaultFaultHandlerBase):
def notice_of_suspension_cb(self, cond: ConditionCode):
def notice_of_suspension_cb(
self, transaction_id: TransactionId, cond: ConditionCode, progress: int
):
_LOGGER.info(f"Received notice of suspension: {cond!r}")
def notice_of_cancellation_cb(self, cond: ConditionCode):
def notice_of_cancellation_cb(
self, transaction_id: TransactionId, cond: ConditionCode, progress: int
):
_LOGGER.info(f"Received notice of cancellation: {cond!r}")
def abandoned_cb(self, cond: ConditionCode):
def abandoned_cb(
self, transaction_id: TransactionId, cond: ConditionCode, progress: int
):
_LOGGER.info(f"Abandoned transaction: {cond!r}")
def ignore_cb(self, cond: ConditionCode):
def ignore_cb(
self, transaction_id: TransactionId, cond: ConditionCode, progress: int
):
_LOGGER.info(f"Ignored transaction: {cond!r}")

253
eive_tmtc/cfdp/handler.py Normal file
View File

@ -0,0 +1,253 @@
from dataclasses import dataclass
from typing import Optional, Tuple
import deprecation
from spacepackets import PacketType, SpacePacket, SpacePacketHeader
from spacepackets.cfdp import GenericPduPacket, PduFactory
from spacepackets.cfdp.pdu import PduHolder
from cfdppy import (
CfdpUserBase,
LocalEntityCfg,
RemoteEntityCfgTable,
)
from cfdppy.defs import CfdpState
from cfdppy.handler import (
DestHandler,
DestStateWrapper,
SourceHandler,
SourceStateWrapper,
)
from cfdppy.handler.common import PacketDestination, get_packet_destination
from cfdppy.mib import CheckTimerProvider
from cfdppy.request import PutRequest
from spacepackets.seqcount import ProvidesSeqCount
from tmtccmd.version import get_version
@dataclass
class StateWrapper:
source_handler_state = SourceStateWrapper()
dest_handler_state = DestStateWrapper()
class CfdpHandler:
"""Wrapper class which wraps both the :py:class:`tmtccmd.cfdp.handler.source.SourceHandler` and
:py:class:`tmtccmd.cfdp.handler.dest.DestHandler` in a sensible way.
If you have special requirements, for example you want to spawn a new destination handler
for each file copy transfer to allow multiple consecutive file transfers, it might be a good
idea to write a custom wrapper."""
def __init__(
self,
cfg: LocalEntityCfg,
user: CfdpUserBase,
seq_cnt_provider: ProvidesSeqCount,
remote_cfg_table: RemoteEntityCfgTable,
check_timer_provider: CheckTimerProvider,
):
self.remote_cfg_table = remote_cfg_table
self.dest_handler = DestHandler(
cfg=cfg,
user=user,
remote_cfg_table=remote_cfg_table,
check_timer_provider=check_timer_provider,
)
self.source_handler = SourceHandler(
cfg=cfg,
seq_num_provider=seq_cnt_provider,
user=user,
remote_cfg_table=remote_cfg_table,
check_timer_provider=check_timer_provider,
)
def put_request(self, request: PutRequest):
self.source_handler.put_request(request)
def pull_next_source_packet(self) -> Optional[PduHolder]:
res = self.source_handler.state_machine()
if res.states.num_packets_ready:
return self.source_handler.get_next_packet()
return None
def pull_next_dest_packet(self) -> Optional[PduHolder]:
res = self.dest_handler.state_machine()
if res.states.packets_ready:
return self.dest_handler.get_next_packet()
return None
def __iter__(self):
return self
def __next__(self) -> Tuple[Optional[PduHolder], Optional[PduHolder]]:
"""The iterator for this class will returns a tuple of optional PDUs wrapped b a
:py:class:`PduHolder`.
:return: Can be a tuple where the first entry can hold a source packet and the second entry
can be a destination packet. If both packets are None, a StopIteration will be raised.
"""
next_source_packet = self.pull_next_source_packet()