Added support for (simulated) serial data input. Data written to netsim's standard input are now sent as serial data to the main node.
This commit is contained in:
parent
7fcb1f3b2a
commit
7a356d0fb5
9 changed files with 120 additions and 35 deletions
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Adam Dunkels <adam@sics.se>
|
||||
*
|
||||
* $Id: nodes.c,v 1.5 2007/11/17 18:09:18 adamdunkels Exp $
|
||||
* $Id: nodes.c,v 1.6 2008/01/14 09:38:16 adamdunkels Exp $
|
||||
*/
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
|
@ -44,6 +44,7 @@ static int numnodes;
|
|||
|
||||
static struct nodes_node nodes[2000];
|
||||
|
||||
int nodes_base_node_port = 0;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
nodes_init(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue