two new shell commands: download and sendcmd
This commit is contained in:
parent
7810d362a6
commit
a23b4fd40b
7 changed files with 539 additions and 4 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: shell-rime.h,v 1.2 2008/08/15 18:58:42 adamdunkels Exp $
|
||||
* $Id: shell-rime.h,v 1.3 2009/04/16 14:33:47 fros4943 Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -63,10 +63,16 @@ void shell_rime_init(void);
|
|||
/* Rime channel used by the 'netcmd' command, which uses 1 channels */
|
||||
#define SHELL_RIME_CHANNEL_NETCMD SHELL_RIME_CHANNEL_PING + 3
|
||||
|
||||
/* Rime channel used by the 'sendcmd' command, which uses 1 channels */
|
||||
#define SHELL_RIME_CHANNEL_SENDCMD SHELL_RIME_CHANNEL_NETCMD + 1
|
||||
|
||||
/* Rime channel used by the 'netfile' command, which uses 2 channels */
|
||||
#define SHELL_RIME_CHANNEL_NETFILE SHELL_RIME_CHANNEL_NETCMD + 1
|
||||
#define SHELL_RIME_CHANNEL_NETFILE SHELL_RIME_CHANNEL_SENDCMD + 1
|
||||
|
||||
/* Rime channel used by the 'sendtest' command, which uses 1 channels */
|
||||
#define SHELL_RIME_CHANNEL_SENDTEST SHELL_RIME_CHANNEL_NETFILE + 2
|
||||
|
||||
/* Rime channel used by the 'download' command, which uses 2 channels */
|
||||
#define SHELL_RIME_CHANNEL_DOWNLOAD SHELL_RIME_CHANNEL_SENDTEST + 1
|
||||
|
||||
#endif /* __SHELL_RIME_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue