This file implements the main function of the Contiki distributed sensor network simulation environment. More...
#include "contiki-net.h"
#include "display.h"
#include "contiki-main.h"
#include "nodes.h"
#include "ether.h"
#include "node.h"
#include "net/ethernode.h"
#include <sys/types.h>
#include <unistd.h>
#include <signal.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/wait.h>
#include <arpa/inet.h>
#include <sys/time.h>
Go to the source code of this file.
Functions | |
char * | arg_alloc (char size) |
Allocates an argument buffer. | |
void | arg_free (char *arg) |
Deallocates an argument buffer. | |
void | clock_delay (unsigned int num) |
Delay the CPU for a multiple of TODO. | |
clock_time_t | clock_time (void) |
Get the current clock time. | |
void | uip_log (char *m) |
Print out a uIP log message. |
This file implements the main function of the Contiki distributed sensor network simulation environment.
When starting, each sensor node is created as its own process. The sensor node processes communicates with the starting process using named pipes. These pipes carry messages such as data packets and configuration and statistics information requests.
Definition in file main.c.