Contiki 3.x
serial-shell.c File Reference

    A shell back-end for the serial port
More...

#include "contiki.h"
#include "shell.h"
#include "dev/serial-line.h"
#include "net/rime/rime.h"
#include <stdio.h>
#include <string.h>

Go to the source code of this file.

Functions

Shell back-end callback functions
        These callback functions are called from the shell to
        the shell back-end.

The shell back-end must implement all back-end callback functions.

void shell_default_output (const char *data1, int size1, const char *data2, int size2)
 Print a line of output from the shell. More...
 
void shell_prompt (char *prompt)
 Print a prompt. More...
 
void shell_exit (void)
 Request shell exit. More...
 

Detailed Description

    A shell back-end for the serial port
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

Definition in file serial-shell.c.