main.c File Reference

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.

Detailed Description

This file implements the main function of the Contiki distributed sensor network simulation environment.

Author:
Adam Dunkels <adam@sics.se>

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.


Generated on Mon Apr 11 14:23:50 2011 for Contiki 2.5 by  doxygen 1.6.1