Sensix
Wireless Sensor Network Middleware



   Home


   Project Page


   Download


   CVS




 Hosted by
Get SENSIX at SourceForge.net. Fast, secure 
and Free Open Source software downloads

/home/brennan/Software/sensix/source/L1/mantis_sensix.c File Reference

#include <string.h>
#include "mote_sensix.h"
#include "mote_impl.h"
#include "mote_networking.h"
#include "mote_state.h"
#include "mos.h"
#include "com.h"
#include "msched.h"
#include "clock.h"
#include "dev.h"

Go to the source code of this file.

Enumerations

enum  sense_f { READ, WRITE, ON, OFF }

Functions

void init_self ()
void listen_sense (functor *f)
uint_t check_energy ()
uint_t check_time ()
void listen_radio ()
int_t send_up (byte_t what, uint_t size, byte_t *array)
int_t send_dn (byte_t what, uint_t size, byte_t *array)
int_t bcast (byte_t what, uint_t data_size, byte_t *data)
void start (void)

Variables

state _node_state []


Enumeration Type Documentation

enum sense_f

Enumerator:
READ 
WRITE 
ON 
OFF 

Definition at line 78 of file mantis_sensix.c.


Function Documentation

int_t bcast ( byte_t  what,
uint_t  data_size,
byte_t data 
)

Definition at line 332 of file mantis_sensix.c.

uint_t check_energy (  ) 

Definition at line 256 of file mantis_sensix.c.

uint_t check_time (  ) 

Definition at line 268 of file mantis_sensix.c.

void init_self (  ) 

Definition at line 60 of file mantis_sensix.c.

void listen_radio (  ) 

Definition at line 313 of file mantis_sensix.c.

void listen_sense ( functor f  ) 

Definition at line 247 of file mantis_sensix.c.

int_t send_dn ( byte_t  what,
uint_t  size,
byte_t array 
)

Definition at line 326 of file mantis_sensix.c.

int_t send_up ( byte_t  what,
uint_t  size,
byte_t array 
)

Definition at line 319 of file mantis_sensix.c.

void start ( void   ) 

Definition at line 375 of file mantis_sensix.c.


Variable Documentation

state _node_state[]

Definition at line 50 of file mote_sensix.c.


© 2008, Los Alamos National Security, LLC.