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

Go to the source code of this file.

Classes

struct  msgModem
 
class  UWMconnector
 

Macros

#define _MODEM_OK    1
 
#define _MAX_MSG_LENGTH    (0x1000)
 
#define _MAX_QUEUE_LENGTH    20
 

Detailed Description

Header of the class needed by UWMPhy_modem to handle the physical connection between NS-Miracle and a real acoustic modem device.

Author
Riccardo Masiero, Ivano Calabrese
Version
2.0.0

Definition in file DESERT_Addons/uwmphy_modem/uwmconnector.h.

Macro Definition Documentation

◆ _MAX_MSG_LENGTH

#define _MAX_MSG_LENGTH    (0x1000)

Variable defining the maximum length of the messages \ exchanged between host and modem.

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

◆ _MAX_QUEUE_LENGTH

#define _MAX_QUEUE_LENGTH    20

Maximum length of queue containing the messages from modem.

Definition at line 62 of file DESERT_Addons/uwmphy_modem/uwmconnector.h.

◆ _MODEM_OK

#define _MODEM_OK    1

Variable to test the right opening of the modem's connection.

Definition at line 57 of file DESERT_Addons/uwmphy_modem/uwmconnector.h.