DUNE: Uniform Navigational Environment
2019.02.1
|
Public Member Functions | |
RadioDriver (RadioConfParam args, Tasks::Task *taskp=NULL) | |
virtual | ~RadioDriver (void) |
virtual int | configDevice (void)=0 |
virtual void | process (const std::string msg)=0 |
bool | processNewReport () |
bool | newRxData (std::string &rx_data) |
void | clearNewRxData () |
virtual void | sendString (std::string &data)=0 |
bool | processCrc (void) |
bool | sendData (std::string txData) |
int | maxDataPacket () |
bool | readSentence (void) |
bool | openSocket (void) |
int | connectToDevice () |
void | processInputInit (double timeout=0.05) |
bool | processInput (double timeout=0.05) |
Public Attributes | |
DeviceReports | device_reports |
Protected Attributes | |
Tasks::Task * | task |
IMC::DevDataText | m_dev_data |
IO::Handle * | m_handle |
std::string | m_line |
std::string | m_last_line |
RadioConfParam | radioParams |
std::queue< std::string > | driverRxRata |
|
inline |
|
inlinevirtual |
Default destructor.
|
inline |
Referenced by Transports::Radio::Task::hardwareUpdateStateMachine().
|
pure virtual |
Implemented in Transports::Radio::RadioRFDXXXxPtP, and Transports::Radio::Radio3dr.
Referenced by Transports::Radio::Task::hardwareUpdateStateMachine().
|
inline |
Referenced by Transports::Radio::Task::hardwareUpdateStateMachine().
|
inline |
|
inline |
Referenced by Transports::Radio::Task::onMain().
|
inline |
|
pure virtual |
Implemented in Transports::Radio::RadioRFDXXXxPtP, and Transports::Radio::Radio3dr.
|
inline |
References Transports::Radio::DeviceReports::data_report.
|
inline |
Referenced by Transports::Radio::Task::onMain().
|
inline |
|
inline |
|
inline |
Read sentence.
|
inline |
Referenced by Transports::Radio::Task::onMain().
|
pure virtual |
Implemented in Transports::Radio::RadioRFDXXXxPtP, and Transports::Radio::Radio3dr.
DeviceReports Transports::Radio::RadioDriver::device_reports |
|
protected |
|
protected |
|
protected |
|
protected |
last line.
Referenced by Transports::Radio::Radio3dr::DeviceVerifyConf(), and Transports::Radio::RadioRFDXXXxPtP::DeviceVerifyConf().
|
protected |
Current line.
Referenced by Transports::Radio::Radio3dr::DeviceVerifyConf(), and Transports::Radio::RadioRFDXXXxPtP::DeviceVerifyConf().
|
protected |
radio Params
Referenced by Transports::Radio::Radio3dr::DeviceVerifyConf(), and Transports::Radio::RadioRFDXXXxPtP::DeviceVerifyConf().
|
protected |
Referenced by Transports::Radio::Radio3dr::configDevice(), Transports::Radio::RadioRFDXXXxPtP::configDevice(), Transports::Radio::Radio3dr::DeviceVerifyConf(), Transports::Radio::RadioRFDXXXxPtP::DeviceVerifyConf(), Transports::Radio::Radio3dr::process(), Transports::Radio::RadioRFDXXXxPtP::process(), Transports::Radio::Radio3dr::saveIfExpectedCmdIs(), Transports::Radio::RadioRFDXXXxPtP::saveIfExpectedCmdIs(), Transports::Radio::Radio3dr::sendCommand(), and Transports::Radio::RadioRFDXXXxPtP::sendCommand().