Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
shell_remote_data Struct Reference

Structure to store the data for the remote shell instance. More...

#include <shell_remote.h>

Data Fields

struct ipc_ept ept
 IPC endpoint.
struct k_sem sem
 Semaphore to synchronize the access to the remote shell instance.
struct k_work work
 Work queue to process the print messages.
const struct shellsh
 Pointer to the shell instance.
struct shell_remote_cmd cmds [2]
 Space to store the two most recent commands (current and parent).
struct shell_remote_cmdcurrent_cmd
 Pointer to the current command.
int result
 Result of the last command.
size_t msg_len
 Length of the print message.
void * msg
 Pointer to the print message (heap allocated).
bool ready
 Flag to indicate if the remote shell instance is ready (bounded).

Detailed Description

Structure to store the data for the remote shell instance.

Field Documentation

◆ cmds

struct shell_remote_cmd shell_remote_data::cmds[2]

Space to store the two most recent commands (current and parent).

◆ current_cmd

struct shell_remote_cmd* shell_remote_data::current_cmd

Pointer to the current command.

◆ ept

struct ipc_ept shell_remote_data::ept

IPC endpoint.

◆ msg

void* shell_remote_data::msg

Pointer to the print message (heap allocated).

◆ msg_len

size_t shell_remote_data::msg_len

Length of the print message.

◆ ready

bool shell_remote_data::ready

Flag to indicate if the remote shell instance is ready (bounded).

◆ result

int shell_remote_data::result

Result of the last command.

◆ sem

struct k_sem shell_remote_data::sem

Semaphore to synchronize the access to the remote shell instance.

◆ sh

const struct shell* shell_remote_data::sh

Pointer to the shell instance.

◆ work

struct k_work shell_remote_data::work

Work queue to process the print messages.


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