OpenBIC
OpenSource Bridge-IC
|
#include "sdr.h"
#include "sensor.h"
#include "libutil.h"
#include "sensor_shell.h"
#include <stdlib.h>
#include <string.h>
#include <logging/log.h>
Macros | |
#define | PINMASK_RESERVE_CHECK 1 |
#define | GPIO_RESERVE_PREFIX "Reserve" |
#define | NUM_OF_GPIO_IS_DEFINE 167 |
Functions | |
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) |
Variables | |
char | default_sensor_name [] = "Not support sensor name" |
const char *const | sensor_status_name [] |
#define GPIO_RESERVE_PREFIX "Reserve" |
#define NUM_OF_GPIO_IS_DEFINE 167 |
#define PINMASK_RESERVE_CHECK 1 |
void cmd_control_sensor_polling | ( | 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_sensor_cfg_list_all_sensor | ( | const struct shell * | shell, |
size_t | argc, | ||
char ** | argv | ||
) |
void cmd_sensor_cfg_list_all_table | ( | const struct shell * | shell, |
size_t | argc, | ||
char ** | argv | ||
) |
char default_sensor_name[] = "Not support sensor name" |
const char* const sensor_status_name[] |