Defines | Functions | Variables
ll_com.c File Reference
#include <unistd.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <stdio.h>
#include <semaphore.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include "errno.h"
#include <pthread.h>
#include "core/include/definitions.h"
#include "core/interface/wmp_interface.h"
#include "core/include/wmp_misc.h"
#include "core/include/frames.h"
#include "config/compiler.h"
#include "core/include/ll_com.h"
#include "../../../../core/include/wmp_utils.h"
Include dependency graph for linux_us/hwi/shmem/ll_com.c:

Go to the source code of this file.

Defines

#define SHMSZ   2500

Functions

void closeLowLevelCom ()
int initLowLevelCom ()
rxInfo llreceive (char *f, int timeout)
int llsend (char *f, int size)
void llsetPower (int dbm)
int readllcfg ()

Variables

static sem_t * dest_mutex
static sem_t * mutex [32]
static char * s
static char * shm
static int shmid
static sem_t * sniff_mutex
static sem_t * sniff_mutex2
static int sniffer_present

Define Documentation

#define SHMSZ   2500

Definition at line 59 of file linux_us/hwi/shmem/ll_com.c.


Function Documentation

void closeLowLevelCom ( void  )

Definition at line 68 of file linux_us/hwi/shmem/ll_com.c.

int initLowLevelCom ( void  )

Definition at line 83 of file linux_us/hwi/shmem/ll_com.c.

rxInfo llreceive ( char *  f,
int  timeout 
)

Definition at line 175 of file linux_us/hwi/shmem/ll_com.c.

int llsend ( char *  f,
int  size 
)

Definition at line 144 of file linux_us/hwi/shmem/ll_com.c.

void llsetPower ( int  dbm)

Definition at line 203 of file linux_us/hwi/shmem/ll_com.c.

int readllcfg ( void  )

Definition at line 64 of file linux_us/hwi/shmem/ll_com.c.


Variable Documentation

sem_t * dest_mutex [static]

Definition at line 61 of file linux_us/hwi/shmem/ll_com.c.

sem_t* mutex[32] [static]

Definition at line 61 of file linux_us/hwi/shmem/ll_com.c.

char * s [static]

Definition at line 60 of file linux_us/hwi/shmem/ll_com.c.

char* shm [static]

Definition at line 60 of file linux_us/hwi/shmem/ll_com.c.

int shmid [static]

Definition at line 62 of file linux_us/hwi/shmem/ll_com.c.

sem_t * sniff_mutex [static]

Definition at line 61 of file linux_us/hwi/shmem/ll_com.c.

sem_t * sniff_mutex2 [static]

Definition at line 61 of file linux_us/hwi/shmem/ll_com.c.

int sniffer_present [static]

Definition at line 62 of file linux_us/hwi/shmem/ll_com.c.



ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Fri Jan 3 2014 12:07:57