Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
eswifi_shell.c File Reference
#include <kernel.h>
#include <shell/shell.h>
#include "eswifi.h"

Functions

static int eswifi_shell_atcmd (const struct shell *shell, size_t argc, char **argv)
 
 SHELL_STATIC_SUBCMD_SET_CREATE (eswifi_shell, SHELL_CMD(atcmd, NULL, "<atcmd>", eswifi_shell_atcmd), SHELL_SUBCMD_SET_END)
 
 SHELL_CMD_REGISTER (eswifi, &eswifi_shell, "esWiFi debug shell", NULL)
 

Variables

static struct eswifi_deveswifi
 
 void
 

Function Documentation

◆ eswifi_shell_atcmd()

static int eswifi_shell_atcmd ( const struct shell shell,
size_t  argc,
char **  argv 
)
static

◆ SHELL_CMD_REGISTER()

SHELL_CMD_REGISTER ( eswifi  ,
eswifi_shell,
"esWiFi debug shell ,
NULL   
)

◆ SHELL_STATIC_SUBCMD_SET_CREATE()

SHELL_STATIC_SUBCMD_SET_CREATE ( eswifi_shell  ,
SHELL_CMD(atcmd, NULL, "<atcmd>", eswifi_shell_atcmd)  ,
SHELL_SUBCMD_SET_END   
)

Variable Documentation

◆ eswifi

struct eswifi_dev* eswifi
static

Copyright (c) 2020 Linaro

SPDX-License-Identifier: Apache-2.0

◆ void

void
Initial value:
{
if (eswifi) {
return;
}
eswifi = dev
static struct eswifi_dev * eswifi
Definition: eswifi_shell.c:12