Skip to content

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

Open
shunsuke-shimomura wants to merge 3 commits intomainfrom
255-post-command-connection-status
Open

error from Uplink::transmit when kble_gs is not connected to the satellite#256
shunsuke-shimomura wants to merge 3 commits intomainfrom
255-post-command-connection-status

Conversation

@shunsuke-shimomura
Copy link
Copy Markdown
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
Copy Markdown
Member

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

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