DUNE: Uniform Navigational Environment  2019.02.0
Transports::Radio Namespace Reference

Classes

class  Radio3dr
 
struct  RadioConfParam
 
struct  DeviceReports
 
class  RadioDriver
 
class  RadioRFDXXXxPtP
 
struct  Arguments
 
struct  Task
 
class  Telemetry
 
struct  RepotImcData
 
struct  Report
 
struct  XxMesg
 

Typedefs

typedef std::map< std::string,
unsigned > 
MapName
 
typedef std::map< unsigned,
std::string > 
MapAddr
 

Enumerations

enum  ReportType {
  NONE_REPORT, RSSI_REPORT, TDM_TIMING_MAX_DATA_PACKET_REPORT, TDM_TIMING_SILENCE_PERIOD_REPORT,
  TDM_TIMING_TX_WINDOW_REPORT, TDM_REPORT, DATA_REPORT, SIZE_REPORT
}
 
enum  StateMachineStates {
  SM_IDLE, SM_ACT_BEGIN, SM_ACT_POWER_ON, SM_ACT_POWER_WAIT,
  SM_ACT_MODEM_WAIT, SM_ACT_CONNECT, SM_ACT_CONFIG, SM_ACT_DONE,
  SM_DEACT_BEGIN, SM_DEACT_DISCONNECT, SM_DEACT_POWER_OFF, SM_DEACT_POWER_WAIT,
  SM_DEACT_DONE
}
 
enum  TelemetryState { IDLE, BUZY }
 
enum  MsgState {
  MSG_NONE, MSG_QUEUE, MSG_TO_DRIVER, MSG_IN_PARTS,
  MSG_IN_PARTS_ERR, WAITING_ACKN, MSG_TRANSMIT, MSG_RECIVING,
  MSG_RECIVED, MSG_PROCESSED, MSG_NAK, MSG_ERROR,
  MSG_AK
}
 
enum  Codes {
  CODE_UNK, CODE_REPORT, CODE_IMC, CODE_AK,
  CODE_RAW
}
 

Typedef Documentation

typedef std::map<unsigned, std::string> Transports::Radio::MapAddr
typedef std::map<std::string, unsigned> Transports::Radio::MapName

Enumeration Type Documentation

Enumerator
CODE_UNK 
CODE_REPORT 
CODE_IMC 
CODE_AK 
CODE_RAW 
Enumerator
MSG_NONE 
MSG_QUEUE 
MSG_TO_DRIVER 
MSG_IN_PARTS 
MSG_IN_PARTS_ERR 
WAITING_ACKN 
MSG_TRANSMIT 
MSG_RECIVING 
MSG_RECIVED 
MSG_PROCESSED 
MSG_NAK 
MSG_ERROR 
MSG_AK 

% RadioDriver provide an API for different radio telemetry devices

Author
João Teixeira.
Enumerator
NONE_REPORT 
RSSI_REPORT 
TDM_TIMING_MAX_DATA_PACKET_REPORT 
TDM_TIMING_SILENCE_PERIOD_REPORT 
TDM_TIMING_TX_WINDOW_REPORT 
TDM_REPORT 
DATA_REPORT 
SIZE_REPORT 

Task arguments.

States of the internal SM. Finite state machine states.

Enumerator
SM_IDLE 

Waiting for activation.

SM_ACT_BEGIN 

Start activation sequence.

SM_ACT_POWER_ON 

Turn modem power on.

SM_ACT_POWER_WAIT 

Wait for power to be turned on.

SM_ACT_MODEM_WAIT 

Wait for serial port device to become available.

SM_ACT_CONNECT 

Connect to device.

SM_ACT_CONFIG 

Start modem configuration session.

SM_ACT_DONE 

Activation sequence is complete.

SM_DEACT_BEGIN 

Start deactivation sequence.

SM_DEACT_DISCONNECT 

Close connection port.

SM_DEACT_POWER_OFF 

Switch power off.

SM_DEACT_POWER_WAIT 

Wait for power to be turned off.

SM_DEACT_DONE 

Deactivation sequence is complete.

This file defines all data structures for telemetry.

Author
João Teixeira
Enumerator
IDLE 
BUZY