#include <shell/shell.h>
Go to the source code of this file.
|
void | cmd_sensor_cfg_list_all_table (const struct shell *shell, size_t argc, char **argv) |
|
void | cmd_sensor_cfg_list_all_sensor (const struct shell *shell, size_t argc, char **argv) |
|
void | cmd_sensor_cfg_get_table_all_sensor (const struct shell *shell, size_t argc, char **argv) |
|
void | cmd_sensor_cfg_get_table_single_sensor (const struct shell *shell, size_t argc, char **argv) |
|
void | cmd_control_sensor_polling (const struct shell *shell, size_t argc, char **argv) |
|
| SHELL_STATIC_SUBCMD_SET_CREATE (sub_sensor_cmds, SHELL_CMD(list_all_table, NULL, "List all monitor table.", cmd_sensor_cfg_list_all_table), SHELL_CMD(list_all_sensor, NULL, "List all SENSOR config.", cmd_sensor_cfg_list_all_sensor), SHELL_CMD(get_table_all_sensor, NULL, "Get table all SENSOR config", cmd_sensor_cfg_get_table_all_sensor), SHELL_CMD(get_table_single_sensor, NULL, "Get table single SENSOR config", cmd_sensor_cfg_get_table_single_sensor), SHELL_CMD(control_sensor_polling, NULL, "Enable/Disable sensor polling", cmd_control_sensor_polling), SHELL_SUBCMD_SET_END) |
|
◆ COMMON_SENSOR_TABLE_INDEX
#define COMMON_SENSOR_TABLE_INDEX 0 |
◆ MAX_SENSOR_NAME_LENGTH
#define MAX_SENSOR_NAME_LENGTH 32 |
◆ SENSOR_ACCESS
Enumerator |
---|
SENSOR_READ | |
SENSOR_WRITE | |
◆ cmd_control_sensor_polling()
void cmd_control_sensor_polling |
( |
const struct shell * |
shell, |
|
|
size_t |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ cmd_sensor_cfg_get_table_all_sensor()
void cmd_sensor_cfg_get_table_all_sensor |
( |
const struct shell * |
shell, |
|
|
size_t |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ cmd_sensor_cfg_get_table_single_sensor()
void cmd_sensor_cfg_get_table_single_sensor |
( |
const struct shell * |
shell, |
|
|
size_t |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ cmd_sensor_cfg_list_all_sensor()
void cmd_sensor_cfg_list_all_sensor |
( |
const struct shell * |
shell, |
|
|
size_t |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ cmd_sensor_cfg_list_all_table()
void cmd_sensor_cfg_list_all_table |
( |
const struct shell * |
shell, |
|
|
size_t |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ SHELL_STATIC_SUBCMD_SET_CREATE()
SHELL_STATIC_SUBCMD_SET_CREATE |
( |
sub_sensor_cmds |
, |
|
|
SHELL_CMD(list_all_table, NULL, "List all monitor table.", cmd_sensor_cfg_list_all_table) |
, |
|
|
SHELL_CMD(list_all_sensor, NULL, "List all SENSOR config.", cmd_sensor_cfg_list_all_sensor) |
, |
|
|
SHELL_CMD(get_table_all_sensor, NULL, "Get table all SENSOR config", cmd_sensor_cfg_get_table_all_sensor) |
, |
|
|
SHELL_CMD(get_table_single_sensor, NULL, "Get table single SENSOR config", cmd_sensor_cfg_get_table_single_sensor) |
, |
|
|
SHELL_CMD(control_sensor_polling, NULL, "Enable/Disable sensor polling", cmd_control_sensor_polling) |
, |
|
|
SHELL_SUBCMD_SET_END |
|
|
) |
| |