|
K-FSW v1.2.1-59-gcaca356
KFSW: modular flight software on Zephyr, for small satellites
|
#include <remexec.h>
Public Attributes | |
| enum kfsw_remexec_status | status |
| int32_t | command_result |
| uint32_t | produced |
| uint32_t | dropped |
| bool | truncated |
| uint16_t | size |
| char | text [KFSW_REMEXEC_OUTPUT_MAX+1U] |
One reply.
status says what happened to the command; truncated and dropped say what happened to its output. The two are independent: a command can succeed and still have its output cut.
| int32_t kfsw_remexec_reply::command_result |
What the shell handler returned.
Meaningful for OK and FAILED.
| uint32_t kfsw_remexec_reply::dropped |
Bytes the reply did not carry.
| uint32_t kfsw_remexec_reply::produced |
Bytes the command printed.
| uint16_t kfsw_remexec_reply::size |
Bytes held in text.
| char kfsw_remexec_reply::text[KFSW_REMEXEC_OUTPUT_MAX+1U] |
The listing, the captured output, or the refusal reason.
Always NUL-terminated.
| bool kfsw_remexec_reply::truncated |
Whether text is short of what the command printed.