43 #ifndef _SHELL_COMMANDS_H_ 44 #define _SHELL_COMMANDS_H_ 47 typedef char (shell_commands_func)(
struct pt *pt, shell_output_func
output,
char *args);
50 struct shell_command_t {
52 shell_commands_func *func;
56 struct shell_command_set_t {
57 struct shell_command_set_t *next;
58 const struct shell_command_t *
const commands;
61 void shell_command_set_register(
struct shell_command_set_t *);
62 int shell_command_set_deregister(
struct shell_command_set_t *);
63 const struct shell_command_t *shell_command_lookup(
const char *);
72 typedef void (*shell_command_6top_sub_cmd_t)(shell_output_func
output,
74 void shell_commands_set_6top_sub_cmd(shell_command_6top_sub_cmd_t sub_cmd);
void shell_commands_init(void)
Initializes Shell-commands module.
static uint8_t output(const linkaddr_t *localdest)
Take an IP packet and format it to be sent on an 802.15.4 network using 6lowpan.
Main API declarations for TSCH.