DESERT 3.5.1
Loading...
Searching...
No Matches
uwmdriver.h File Reference
#include "uwmconnector.h"
#include "uwminterpreter.h"
#include <stdlib.h>
#include <iostream>
#include <stdio.h>
#include <fstream>
#include <string.h>
#include <cstring>
#include <sstream>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <cmath>
Include dependency graph for DESERT_Addons/uwmphy_modem/uwmdriver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UWMdriver
 

Macros

#define MAX_LOG_LEVEL   2
 

Typedefs

typedef enum LOG_LEVEL log_level_t
 
typedef enum MODEM_STATES modem_state_t
 

Enumerations

enum  MODEM_STATES {
  MODEM_IDLE = 0 , MODEM_TX , MODEM_RX , MODEM_IDLE_RX ,
  MODEM_CFG , MODEM_TX_PAUSED , MODEM_TX_RX , MODEM_RESET ,
  MODEM_NOISE , MODEM_MULTIPATH , MODEM_CHANGE_POWER_LEVEL , MODEM_QUIT
}
 
enum  LOG_LEVEL { LOG_LEVEL_ERROR = 0 , LOG_LEVEL_INFO , LOG_LEVEL_DEBUG }
 

Detailed Description

Header of the class needed by UWMPhy_modem to handle the different transmissions cases and corresponding protocol messages to be generated according to the tcl-user choices and modem firmware, respectively.

Author
Riccardo Masiero
Federico Favaro
Version
2.0.0

Definition in file DESERT_Addons/uwmphy_modem/uwmdriver.h.

Macro Definition Documentation

◆ MAX_LOG_LEVEL

#define MAX_LOG_LEVEL   2

Definition at line 58 of file DESERT_Addons/uwmphy_modem/uwmdriver.h.

Typedef Documentation

◆ log_level_t

typedef enum LOG_LEVEL log_level_t

Definition at line 77 of file DESERT_Addons/uwmphy_modem/uwmdriver.h.

◆ modem_state_t

Definition at line 79 of file DESERT_Addons/uwmphy_modem/uwmdriver.h.

Enumeration Type Documentation

◆ LOG_LEVEL

enum LOG_LEVEL
Enumerator
LOG_LEVEL_ERROR 
LOG_LEVEL_INFO 
LOG_LEVEL_DEBUG 

Definition at line 75 of file DESERT_Addons/uwmphy_modem/uwmdriver.h.

◆ MODEM_STATES

Enumerator
MODEM_IDLE 
MODEM_TX 
MODEM_RX 
MODEM_IDLE_RX 
MODEM_CFG 
MODEM_TX_PAUSED 
MODEM_TX_RX 
MODEM_RESET 
MODEM_NOISE 
MODEM_MULTIPATH 
MODEM_CHANGE_POWER_LEVEL 
MODEM_QUIT 

Definition at line 60 of file DESERT_Addons/uwmphy_modem/uwmdriver.h.