Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
#include <zephyr/net/socket.h>
#include <zephyr/net/http/server.h>
#include <zephyr/net/http/service.h>
#include <zephyr/shell/shell.h>
Go to the source code of this file.
Data Structures | |
struct | shell_websocket_line_buf |
Line buffer structure. More... | |
struct | shell_websocket |
WEBSOCKET-based shell transport. More... | |
Macros | |
#define | SHELL_WEBSOCKET_SERVICE_COUNT CONFIG_SHELL_WEBSOCKET_BACKEND_COUNT |
#define | GET_WS_NAME(_service) |
#define | GET_WS_SHELL_NAME(_name) |
#define | GET_WS_TRANSPORT_NAME(_service) |
#define | GET_WS_DETAIL_NAME(_service) |
#define | SHELL_WEBSOCKET_DEFINE(_service) |
#define | SHELL_WS_PORT_NAME(_service) |
#define | SHELL_WS_BUF_NAME(_service) |
#define | SHELL_WS_TEMP_RECV_BUF_SIZE 256 |
#define | DEFINE_WEBSOCKET_HTTP_SERVICE(_service) |
#define | DEFINE_WEBSOCKET_SERVICE(_service) |
#define | WEBSOCKET_CONSOLE_DEFINE(_service, _sec_tag_list, _sec_tag_list_size) |
#define | WEBSOCKET_CONSOLE_ENABLE(_service) |
Functions | |
int | shell_websocket_setup (int ws_socket, struct http_request_ctx *request_ctx, void *user_data) |
int | shell_websocket_enable (const struct shell *sh) |
Variables | |
const struct shell_transport_api | shell_websocket_transport_api |
#define DEFINE_WEBSOCKET_HTTP_SERVICE | ( | _service | ) |
#define DEFINE_WEBSOCKET_SERVICE | ( | _service | ) |
#define GET_WS_DETAIL_NAME | ( | _service | ) |
#define GET_WS_NAME | ( | _service | ) |
#define GET_WS_SHELL_NAME | ( | _name | ) |
#define GET_WS_TRANSPORT_NAME | ( | _service | ) |
#define SHELL_WEBSOCKET_DEFINE | ( | _service | ) |
#define SHELL_WEBSOCKET_SERVICE_COUNT CONFIG_SHELL_WEBSOCKET_BACKEND_COUNT |
#define SHELL_WS_BUF_NAME | ( | _service | ) |
#define SHELL_WS_PORT_NAME | ( | _service | ) |
#define SHELL_WS_TEMP_RECV_BUF_SIZE 256 |
#define WEBSOCKET_CONSOLE_DEFINE | ( | _service, | |
_sec_tag_list, | |||
_sec_tag_list_size ) |
#define WEBSOCKET_CONSOLE_ENABLE | ( | _service | ) |
int shell_websocket_enable | ( | const struct shell * | sh | ) |
int shell_websocket_setup | ( | int | ws_socket, |
struct http_request_ctx * | request_ctx, | ||
void * | user_data ) |
|
extern |