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/tools/sim/platform.pc/nido.h File Reference

#include <event_queue.h>
#include <adjacency_list.h>
#include <rfm_model.h>
#include <adc_model.h>
#include <spatial_model.h>
#include <nido_eeprom.h>
#include <events.h>
#include <packet_sim.h>
#include <sys/time.h>
#include <dbg_modes.h>

Go to the source code of this file.

Classes

struct  TOS_node_state
struct  TOS_state

Defines

#define DEFAULT_EEPROM_SIZE   (512 * 1024)
#define NODE_START   (tos_state.first_node)
#define NODE_END   (tos_state.first_node + tos_state.num_nodes)
#define NODE_NUM   (tos_state.current_node)
#define THIS_NODE   (tos_state.node_state[tos_state.current_node])
#define TOS_queue_insert_event(event)   queue_insert_event(&(tos_state.queue), event);

Typedefs

typedef struct TOS_node_state TOS_node_state_t
typedef struct TOS_state TOS_state_t

Enumerations

enum  { TOSNODES = TOSH_NUM_NODES }
enum  { TOSSIM_RADIO_MODEL_SIMPLE = 0, TOSSIM_RADIO_MODEL_LOSSY = 1, TOSSIM_RADIO_MODEL_PACKET = 2 }

Functions

int notifyTaskPosted (char *name)
int notifyEventSignaled (char *name)
int notifyCommandCalled (char *name)
void set_sim_rate (uint32_t)
uint32_t get_sim_rate ()
void tos_state_model_init (void)

Variables

TOS_state_t tos_state


Define Documentation

#define DEFAULT_EEPROM_SIZE   (512 * 1024)

Definition at line 67 of file nido.h.

#define NODE_END   (tos_state.first_node + tos_state.num_nodes)

Definition at line 115 of file nido.h.

#define NODE_NUM   (tos_state.current_node)

Definition at line 117 of file nido.h.

#define NODE_START   (tos_state.first_node)

Definition at line 114 of file nido.h.

#define THIS_NODE   (tos_state.node_state[tos_state.current_node])

Definition at line 118 of file nido.h.

#define TOS_queue_insert_event ( event   )     queue_insert_event(&(tos_state.queue), event);

Definition at line 119 of file nido.h.


Typedef Documentation

typedef struct TOS_state TOS_state_t


Enumeration Type Documentation

anonymous enum

Author:
Philip Levis

pal

Enumerator:
TOSNODES 

Definition at line 62 of file nido.h.

anonymous enum

Enumerator:
TOSSIM_RADIO_MODEL_SIMPLE 
TOSSIM_RADIO_MODEL_LOSSY 
TOSSIM_RADIO_MODEL_PACKET 

Definition at line 70 of file nido.h.


Function Documentation

uint32_t get_sim_rate (  ) 

int notifyCommandCalled ( char *  name  ) 

int notifyEventSignaled ( char *  name  ) 

int notifyTaskPosted ( char *  name  ) 

void set_sim_rate ( uint32_t   ) 

void tos_state_model_init ( void   ) 

Definition at line 134 of file nido.h.


Variable Documentation


© 2008, Los Alamos National Security, LLC.