Messages.h File Reference

#include <BITE.h>
#include <ManagePT.h>

Include dependency graph for Temperature/INCLUDES/Messages.h:

Go to the source code of this file.

Data Structures

struct  info_ACK
struct  info_Brute
struct  info_message
struct  info_Noeud
struct  info_Reveil
struct  info_Temperature
struct  ligne_buffer_envoi
struct  ligne_buffer_recep
union  u_info

Defines

#define ACK   0
#define ASK_BASE_COORD   6
#define ASK_NODE_COORD   4
#define ASK_TEMPERATURE   15
#define BASE_COORD   7
#define BROADCAST   3
#define BUFFER_ENVOI_PAS_PLEIN()   (Ptr_envoi < Buffer_envoi + NB_LIGNES_ENVOI)
#define BUFFER_RECEP_PAS_PLEIN()   (Dispo_buffer_recep > 0)
#define BUFFER_RECEP_PAS_VIDE()   (Dispo_buffer_recep < NB_LIGNES_RECEP)
#define ERASE_BUFFER_RECEP_LINE()
#define ETAPE1   1
#define ETAPE2   2
#define HIGH_PRIORITY   2
#define LIBRE   0
#define MODULO_NUM_ACK   256
#define MULTI_HOP   2
#define NB_DEADLINES   3
#define NB_LIGNES_ENVOI   16
#define NB_LIGNES_RECEP   8
#define NO_PRIORITY   0
#define NODE_COORD   5
#define PRET   3
#define REP_VOIS   3
#define REQ_VOIS   2
#define REVEIL   1
#define SINGLE_HOP   0
#define SINGLE_HOP_ACK   1
#define TEMPERATURE   13
#define TEMPERATURE_PRIOR   14
#define UPDATE_NEIGHBORS   8

Functions

void affiche_info (u_info *frame)
void cserial_putchar (char c)
void cserial_puts (const char *string)

Variables

ligne_buffer_envoi Buffer_envoi [NB_LIGNES_ENVOI]
ligne_buffer_recep Buffer_recep [NB_LIGNES_RECEP]
int Dispo_buffer_recep
flag_protothreads Flag_PT
info_Reveil Frame_alarm
ligne_buffer_envoiPtr_envoi
ligne_buffer_recepPtr_recep_ecri
ligne_buffer_recepPtr_recep_lect


Define Documentation

#define ACK   0

Definition at line 33 of file Temperature/INCLUDES/Messages.h.

#define ASK_BASE_COORD   6

Definition at line 39 of file Temperature/INCLUDES/Messages.h.

Referenced by PT_THREAD().

#define ASK_NODE_COORD   4

Definition at line 37 of file Temperature/INCLUDES/Messages.h.

#define ASK_TEMPERATURE   15

Definition at line 44 of file Temperature/INCLUDES/Messages.h.

#define BASE_COORD   7

Definition at line 40 of file Temperature/INCLUDES/Messages.h.

Referenced by PT_THREAD().

#define BROADCAST   3

Definition at line 30 of file Temperature/INCLUDES/Messages.h.

 
#define BUFFER_ENVOI_PAS_PLEIN (  )     (Ptr_envoi < Buffer_envoi + NB_LIGNES_ENVOI)

Definition at line 57 of file Temperature/INCLUDES/Messages.h.

 
#define BUFFER_RECEP_PAS_PLEIN (  )     (Dispo_buffer_recep > 0)

Definition at line 56 of file Temperature/INCLUDES/Messages.h.

 
#define BUFFER_RECEP_PAS_VIDE (  )     (Dispo_buffer_recep < NB_LIGNES_RECEP)

Definition at line 55 of file Temperature/INCLUDES/Messages.h.

 
#define ERASE_BUFFER_RECEP_LINE (  ) 

#define ETAPE1   1

Definition at line 22 of file Temperature/INCLUDES/Messages.h.

#define ETAPE2   2

Definition at line 23 of file Temperature/INCLUDES/Messages.h.

#define HIGH_PRIORITY   2

Definition at line 48 of file Temperature/INCLUDES/Messages.h.

#define LIBRE   0

Definition at line 21 of file Temperature/INCLUDES/Messages.h.

#define MODULO_NUM_ACK   256

Definition at line 52 of file Temperature/INCLUDES/Messages.h.

#define MULTI_HOP   2

Definition at line 29 of file Temperature/INCLUDES/Messages.h.

#define NB_DEADLINES   3

Definition at line 18 of file Temperature/INCLUDES/Messages.h.

#define NB_LIGNES_ENVOI   16

Definition at line 17 of file Temperature/INCLUDES/Messages.h.

#define NB_LIGNES_RECEP   8

Definition at line 16 of file Temperature/INCLUDES/Messages.h.

#define NO_PRIORITY   0

Definition at line 49 of file Temperature/INCLUDES/Messages.h.

#define NODE_COORD   5

Definition at line 38 of file Temperature/INCLUDES/Messages.h.

#define PRET   3

Definition at line 24 of file Temperature/INCLUDES/Messages.h.

#define REP_VOIS   3

Definition at line 36 of file Temperature/INCLUDES/Messages.h.

Referenced by PT_THREAD().

#define REQ_VOIS   2

Definition at line 35 of file Temperature/INCLUDES/Messages.h.

Referenced by PT_THREAD().

#define REVEIL   1

Definition at line 34 of file Temperature/INCLUDES/Messages.h.

#define SINGLE_HOP   0

Definition at line 27 of file Temperature/INCLUDES/Messages.h.

#define SINGLE_HOP_ACK   1

Definition at line 28 of file Temperature/INCLUDES/Messages.h.

#define TEMPERATURE   13

Definition at line 42 of file Temperature/INCLUDES/Messages.h.

Referenced by PT_THREAD().

#define TEMPERATURE_PRIOR   14

Definition at line 43 of file Temperature/INCLUDES/Messages.h.

#define UPDATE_NEIGHBORS   8

Definition at line 41 of file Temperature/INCLUDES/Messages.h.


Function Documentation

void affiche_info ( u_info frame  ) 

void cserial_putchar ( char  c  ) 

void cserial_puts ( const char *  string  ) 


Variable Documentation

ligne_buffer_envoi Buffer_envoi[NB_LIGNES_ENVOI]

Definition at line 23 of file Bootloader/CONFIG/VG.C.

ligne_buffer_recep Buffer_recep[NB_LIGNES_RECEP]

Definition at line 16 of file Bootloader/CONFIG/VG.C.

Definition at line 19 of file Bootloader/CONFIG/VG.C.

Definition at line 26 of file MAIN.C.

Definition at line 12 of file Bootloader/CONFIG/VG.C.

Definition at line 24 of file Bootloader/CONFIG/VG.C.

Definition at line 18 of file Bootloader/CONFIG/VG.C.

Definition at line 17 of file Bootloader/CONFIG/VG.C.


Generated on Wed Jun 3 12:05:55 2009 for PowWow v1.0 by  doxygen 1.5.6