Contiki-NG
|
Files | |
file | shell.h |
Main header file for the Contiki shell. | |
Functions | |
void | serial_shell_init (void) |
Initializes Serial Shell module. | |
watchdog_reboot () | |
Keeps control until the WDT throws a reset signal. | |
void | shell_commands_init (void) |
Initializes Shell-commands module. | |
void | shell_output_6addr (shell_output_func output, const uip_ipaddr_t *ipaddr) |
Prints an IPv6 address. | |
void | shell_output_lladdr (shell_output_func output, const linkaddr_t *lladdr) |
Prints a link-layer address. | |
void | shell_init (void) |
Initializes Shell module. | |
PT_THREAD (shell_input(struct pt *pt, shell_output_func output, const char *cmd)) | |
A protothread that is spawned by a Shell driver when receiving a new line. | |
The shell enables to inspect and manage the network layer and provides other system functionalities
void shell_output_6addr | ( | shell_output_func | output, |
const uip_ipaddr_t * | ipaddr ) |
Prints an IPv6 address.
output | The output function |
ipaddr | The IPv6 to printed |
Definition at line 55 of file shell.c.
References ipaddr, and uiplib_ipaddr_snprint().
void shell_output_lladdr | ( | shell_output_func | output, |
const linkaddr_t * | lladdr ) |
watchdog_reboot | ( | void | ) |
Keeps control until the WDT throws a reset signal.
Starts the WDT if not already started.
Keeps control until the WDT throws a reset signal.
Starts the WDT if not already started.
Keeps control until the WDT throws a reset signal.
Definition at line 94 of file watchdog.c.
References INTERRUPTS_DISABLE, SMWDTHROSC_WDCTL, SMWDTHROSC_WDCTL_EN, SMWDTHROSC_WDCTL_INT, and watchdog_start().