K-FSW v1.2.1-59-gcaca356
KFSW: modular flight software on Zephyr, for small satellites
Loading...
Searching...
No Matches
kfsw_remexec_reply Struct Reference

#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]
 

Detailed Description

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.

Member Data Documentation

◆ command_result

int32_t kfsw_remexec_reply::command_result

What the shell handler returned.

Meaningful for OK and FAILED.

◆ dropped

uint32_t kfsw_remexec_reply::dropped

Bytes the reply did not carry.

◆ produced

uint32_t kfsw_remexec_reply::produced

Bytes the command printed.

◆ size

uint16_t kfsw_remexec_reply::size

Bytes held in text.

◆ text

char kfsw_remexec_reply::text[KFSW_REMEXEC_OUTPUT_MAX+1U]

The listing, the captured output, or the refusal reason.

Always NUL-terminated.

◆ truncated

bool kfsw_remexec_reply::truncated

Whether text is short of what the command printed.


The documentation for this struct was generated from the following file: