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/mote_networking.c File Reference

Packet info for SENSIX networking between sensor levels. More...

#include <string.h>
#include "sensix.h"
#include "sense_impl.h"
#include "sense_endian.h"
#include "mote_impl.h"
#include "mote_sensix.h"
#include "mote_networking.h"
#include "mote_state.h"

Go to the source code of this file.

Defines

#define MOTE

Functions

byte_t load_header (byte_t *hdr, byte_t what, byte_t data_size)
void xmit_data (functor *f)
void xmit_datum (functor *f)
void xmit_metadata (byte_t meta, uint_t node)
void xmit_command (functor *f)
void rediscovery (uint_t node)
byte_t parse_packet (byte_t *msg, uint_t len, uint_t node)

Variables

mote_state _node_state []


Detailed Description

Packet info for SENSIX networking between sensor levels.

Revision
1.19
Author
sean_m_brennan
Date
2009/08/23 21:41:59

Definition in file mote_networking.c.


Define Documentation

#define MOTE

Definition at line 37 of file mote_networking.c.


Function Documentation

byte_t load_header ( byte_t hdr,
byte_t  what,
byte_t  data_size 
)

Definition at line 50 of file mote_networking.c.

byte_t parse_packet ( byte_t msg,
uint_t  len,
uint_t  node 
)

Definition at line 668 of file mote_networking.c.

void rediscovery ( uint_t  node  ) 

Definition at line 562 of file mote_networking.c.

void xmit_command ( functor f  ) 

Definition at line 317 of file mote_networking.c.

void xmit_data ( functor f  ) 

Definition at line 64 of file mote_networking.c.

void xmit_datum ( functor f  ) 

Definition at line 114 of file mote_networking.c.

void xmit_metadata ( byte_t  meta,
uint_t  node 
)

TODO: appropriate to network_order id?

TODO: potential duplicate ids due to representation?

TODO: appropriate to network_order id?

Definition at line 159 of file mote_networking.c.


Variable Documentation

Definition at line 50 of file mote_sensix.c.


© 2008, Los Alamos National Security, LLC.