|
Contiki-NG
|
The shell enables to inspect and manage the network layer and provides other system functionalities. More...
Functions | |
| void | serial_shell_init (void) |
| Initializes Serial Shell module. | |
| watchdog_reboot () | |
| Keeps control until the WDT throws a reset signal. More... | |
| 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. More... | |
| void | shell_output_lladdr (shell_output_func output, const linkaddr_t *lladdr) |
| Prints a link-layer address. More... | |
| void | shell_init (void) |
| Initializes Shell module. | |
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 57 of file shell.c.
References uiplib_ipaddr_snprint().
| void shell_output_lladdr | ( | shell_output_func | output, |
| const linkaddr_t * | lladdr | ||
| ) |
Prints a link-layer address.
| output | The output function |
| lladdr | The link-layer to be printed |
Definition at line 65 of file shell.c.
References linkaddr_node_addr, output(), PT_BEGIN, PT_END, PT_SPAWN, PT_THREAD, and shell_output_lladdr().
Referenced by shell_output_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, NVIC_SystemReset(), SMWDTHROSC_WDCTL, SMWDTHROSC_WDCTL_EN, SMWDTHROSC_WDCTL_INT, and watchdog_start().
1.8.11