Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
shell_transport Struct Reference

Shell transport instance. More...

#include <zephyr/shell/shell.h>

Data Fields

const struct shell_transport_apiapi
 Transport backend operations.
void * ctx
 Transport instance context.

Detailed Description

Shell transport instance.

Binds a transport backend implementation (shell_transport_api) to its per-instance context. It is instantiated by a backend's SHELL_*_DEFINE macro and referenced by a shell instance through its transport interface.

Field Documentation

◆ api

const struct shell_transport_api* shell_transport::api

Transport backend operations.

◆ ctx

void* shell_transport::ctx

Transport instance context.


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