Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error from Uplink::transmit when kble_gs is not connected to the satellite #256

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

shunsuke-shimomura
Copy link
Contributor

概要

tmtc-c2a::kble_gs::Uplinkでtransmiする際、kble_gsが衛星につながっていないときエラーとして帰ってきていなかった。
kble_gs内のcmd_tx, cmd_rxに、Vecに加えてoneshot::Sender<Result<()>>を追加することで衛星との接続をエラーとして返すようにした。

発端となる Issue

#255 に問題点を記述

@shunsuke-shimomura shunsuke-shimomura self-assigned this Jun 16, 2024
@shunsuke-shimomura shunsuke-shimomura changed the title modify to return a error from Uplink::transmit when kble_gs is not co… error from Uplink::transmit when kble_gs is not connected to the satellite Jun 16, 2024
@KOBA789
Copy link
Member

KOBA789 commented Jun 27, 2024

よい変更だと思う、んですが今レビューの時間取れないのであとで見ます

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kble_gsが接続されていないときにhandle_commandに正しくエラーが伝わらない
2 participants