52PROCESS(serial_shell_process,
"Contiki serial shell");
56serial_shell_output(
const char *str) {
67 static struct pt shell_input_pt;
69 PROCESS_PT_SPAWN(&shell_input_pt, shell_input(&shell_input_pt, serial_shell_output, data));
#define PROCESS(name, strname)
Declare a process.
#define PROCESS_PT_SPAWN(pt, thread)
Spawn a protothread from the process.
#define PROCESS_BEGIN()
Define the beginning of a process.
#define PROCESS_WAIT_EVENT_UNTIL(c)
Wait for an event to be posted to the process, with an extra condition.
#define PROCESS_END()
Define the end of a process.
void process_start(struct process *p, process_data_t data)
Start a process.
#define PROCESS_THREAD(name, ev, data)
Define the body of a process.
void serial_shell_init(void)
Initializes Serial Shell module.
void shell_init(void)
Initializes Shell module.
Header file for the logging system.
Generic serial I/O process header filer.
A shell back-end for the serial port.
Main header file for the Contiki shell.