#include <shell/shell.h>
#include <stdlib.h>
#include <stdio.h>
#include "plat_log.h"
#include "plat_fru.h"
|
void | cmd_set_event (const struct shell *shell, size_t argc, char **argv) |
|
void | cmd_log_dump (const struct shell *shell, size_t argc, char **argv) |
|
void | cmd_test_read (const struct shell *shell, size_t argc, char **argv) |
|
void | cmd_log_clear (const struct shell *shell, size_t argc, char **argv) |
|
| SHELL_STATIC_SUBCMD_SET_CREATE (sub_blackbox_cmd, SHELL_CMD(get, NULL, "log_dump", cmd_log_dump), SHELL_CMD(clear, NULL, "log_clear", cmd_log_clear), SHELL_SUBCMD_SET_END) |
|
| SHELL_CMD_REGISTER (blackbox, &sub_blackbox_cmd, "blackbox get/clear commands", NULL) |
|
◆ cmd_log_clear()
void cmd_log_clear |
( |
const struct shell * |
shell, |
|
|
size_t |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ cmd_log_dump()
void cmd_log_dump |
( |
const struct shell * |
shell, |
|
|
size_t |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ cmd_set_event()
void cmd_set_event |
( |
const struct shell * |
shell, |
|
|
size_t |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ cmd_test_read()
void cmd_test_read |
( |
const struct shell * |
shell, |
|
|
size_t |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ SHELL_CMD_REGISTER()
SHELL_CMD_REGISTER |
( |
blackbox |
, |
|
|
& |
sub_blackbox_cmd, |
|
|
"blackbox get/clear commands" |
, |
|
|
NULL |
|
|
) |
| |
◆ SHELL_STATIC_SUBCMD_SET_CREATE()
SHELL_STATIC_SUBCMD_SET_CREATE |
( |
sub_blackbox_cmd |
, |
|
|
SHELL_CMD(get, NULL, "log_dump", cmd_log_dump) |
, |
|
|
SHELL_CMD(clear, NULL, "log_clear", cmd_log_clear) |
, |
|
|
SHELL_SUBCMD_SET_END |
|
|
) |
| |