netperf: a new small shell command that measures the communication
performance between two local (single-hop) nodes. It sends packets over both broadcast and unicast, both in one direction and in both, as well as tested the stream mode of the underlying MAC protocol.
This commit is contained in:
parent
84f2a077de
commit
4928e43880
5 changed files with 689 additions and 5 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: shell-rime.h,v 1.4 2009/05/10 21:05:22 adamdunkels Exp $
|
||||
* $Id: shell-rime.h,v 1.5 2009/11/03 22:52:39 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -61,7 +61,7 @@ void shell_rime_init(void);
|
|||
#define SHELL_RIME_CHANNEL_PING SHELL_RIME_CHANNEL_COLLECT + 2
|
||||
|
||||
/* Rime channel used by the 'netcmd' command, which uses 1 channels */
|
||||
#define SHELL_RIME_CHANNEL_NETCMD SHELL_RIME_CHANNEL_PING + 3
|
||||
#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
|
||||
|
@ -73,9 +73,14 @@ void shell_rime_init(void);
|
|||
#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
|
||||
#define SHELL_RIME_CHANNEL_DOWNLOAD SHELL_RIME_CHANNEL_SENDTEST + 1
|
||||
|
||||
/* Rime channel used by the 'netperf' command, which uses 6 channels */
|
||||
#define SHELL_RIME_CHANNEL_NETPERF SHELL_RIME_CHANNEL_DOWNLOAD + 2
|
||||
|
||||
|
||||
/* Announcement idenfied used by the 'neighbors' command, uses one idenfier */
|
||||
#define SHELL_RIME_ANNOUNCEMENT_IDENTIFIER_NEIGHBORS SHELL_RIME_CHANNEL_DOWNLOAD + 2
|
||||
|
||||
|
||||
#endif /* __SHELL_RIME_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue