Functions | Variables
wmp_com.c File Reference
#include "config/compiler.h"
#include "core/include/wmp_com.h"
#include "core/include/wmp_misc.h"
#include "core/include/wmp_utils.h"
#include "core/include/global.h"
#include "core/include/ml_com.h"
Include dependency graph for wmp_com.c:

Go to the source code of this file.

Functions

char f_rssi (char rssi)
char getSimulatedRssi (char to)
void initComLayer ()
void rssi_set_f (char(*f)(char))
int vigilant_sleep (wmpFrame *p, wmpFrame *q)
int wmp_send_retry (wmpFrame *p)
void wmp_send_setup (wmpFrame *p)
int wmpInterpretAck (wmpFrame **p, wmpFrame **q)
int wmpInterpretReceived (wmpFrame **p, wmpFrame **q)
int wmpReceive (wmpFrame *q)
int wmpSend (wmpFrame *p)
void wmpSendAck (wmpFrame *p)
void wmpSendDrop (wmpFrame *p)
int wmpUpdateAcknowkedgedRssi (wmpFrame *q)
int wmpUpdateReceivedRssi (wmpFrame *q)
void wmpUpdateRssi (wmpFrame *p)
int wmpWaitAck (wmpFrame *q)

Variables

static char(* fp )(char)
struct {
   unsigned char   from
   int   serial
   unsigned char   to
   unsigned char   type
lastRX
struct {
   unsigned char   from
   int   serial
   unsigned char   to
   unsigned char   type
lastTX
char(*)(char) rssi_get_f ()

Function Documentation

char f_rssi ( char  rssi)

Definition at line 56 of file wmp_com.c.

char getSimulatedRssi ( char  to)

Definition at line 76 of file wmp_com.c.

void initComLayer ( void  )

Definition at line 193 of file wmp_com.c.

void rssi_set_f ( char(*)(char)  f)

Definition at line 68 of file wmp_com.c.

int vigilant_sleep ( wmpFrame *  p,
wmpFrame *  q 
)

XXXX should be q

Definition at line 319 of file wmp_com.c.

int wmp_send_retry ( wmpFrame *  p)

Definition at line 197 of file wmp_com.c.

void wmp_send_setup ( wmpFrame *  p)

Definition at line 189 of file wmp_com.c.

int wmpInterpretAck ( wmpFrame **  p,
wmpFrame **  q 
)

Definition at line 203 of file wmp_com.c.

int wmpInterpretReceived ( wmpFrame **  p,
wmpFrame **  q 
)

Definition at line 245 of file wmp_com.c.

int wmpReceive ( wmpFrame *  q)

Definition at line 114 of file wmp_com.c.

int wmpSend ( wmpFrame *  p)

Definition at line 149 of file wmp_com.c.

void wmpSendAck ( wmpFrame *  p)

Definition at line 287 of file wmp_com.c.

void wmpSendDrop ( wmpFrame *  p)

Definition at line 100 of file wmp_com.c.

int wmpUpdateAcknowkedgedRssi ( wmpFrame *  q)

Definition at line 133 of file wmp_com.c.

int wmpUpdateReceivedRssi ( wmpFrame *  q)

Definition at line 128 of file wmp_com.c.

void wmpUpdateRssi ( wmpFrame *  p)

Definition at line 80 of file wmp_com.c.

int wmpWaitAck ( wmpFrame *  q)

Definition at line 138 of file wmp_com.c.


Variable Documentation

char(* fp)(char) [static]

Definition at line 45 of file wmp_com.c.

unsigned char from

Definition at line 50 of file wmp_com.c.

struct { ... } lastRX
struct { ... } lastTX
char(*)(char) rssi_get_f()

Definition at line 64 of file wmp_com.c.

int serial

Definition at line 52 of file wmp_com.c.

unsigned char to

Definition at line 49 of file wmp_com.c.

unsigned char type

Definition at line 51 of file wmp_com.c.



ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Mon Oct 6 2014 08:27:13