52 PROCESS(serial_shell_process,
"Contiki serial shell");
56 serial_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.
Main header file for the Contiki shell
#define PROCESS_BEGIN()
Define the beginning of a process.
#define PROCESS_END()
Define the end of a process.
#define PROCESS_WAIT_EVENT_UNTIL(c)
Wait for an event to be posted to the process, with an extra condition.
A shell back-end for the serial port
void serial_shell_init(void)
Initializes Serial Shell module.
void shell_init(void)
Initializes Shell module.
process_event_t serial_line_event_message
Event posted when a line of input has been received.
Generic serial I/O process header filer.
#define PROCESS_PT_SPAWN(pt, thread)
Spawn a protothread from the process.
PROCESS_THREAD(cc2538_rf_process, ev, data)
Implementation of the cc2538 RF driver process.
Header file for the logging system
void process_start(struct process *p, process_data_t data)
Start a process.