DUNE: Uniform Navigational Environment
2017.01.0
|
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 (std::string &rxData) |
virtual void | sendString (std::string &data)=0 |
bool | processCrc (void) |
bool | sendData (std::string txData) |
bool | readSentence (void) |
bool | openSocket (void) |
int | connectToDevice () |
void | processInputInit (double timeout=0.1) |
bool | processInput (double timeout=0.1) |
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 |
|
inline |
|
inlinevirtual |
Default destructor.
References m_handle.
|
pure virtual |
Implemented in Transports::Radio::RadioRFDXXXxPtP, and Transports::Radio::Radio3dr.
Referenced by Transports::Radio::Task::hardwareUpdateStateMachine().
|
inline |
|
inline |
References m_handle, radioParams, and Transports::Radio::RadioConfParam::uart_dev.
Referenced by connectToDevice().
|
pure virtual |
Implemented in Transports::Radio::RadioRFDXXXxPtP, and Transports::Radio::Radio3dr.
Referenced by readSentence().
|
inline |
References Transports::Radio::DeviceReports::data_report, device_reports, and task.
Referenced by processNewReport().
|
inline |
References readSentence().
Referenced by Transports::Radio::Task::onMain().
|
inline |
References readSentence().
Referenced by Transports::Radio::Radio3dr::sendCommandAndWait(), and Transports::Radio::RadioRFDXXXxPtP::sendCommandAndWait().
|
inline |
|
inline |
Read sentence.
References m_handle, m_last_line, m_line, and process().
Referenced by processInput(), and processInputInit().
|
inline |
References sendString(), and task.
Referenced by Transports::Radio::Task::onMain().
|
pure virtual |
Implemented in Transports::Radio::RadioRFDXXXxPtP, and Transports::Radio::Radio3dr.
Referenced by sendData().
DeviceReports Transports::Radio::RadioDriver::device_reports |
|
protected |
|
protected |
|
protected |
last line.
Referenced by Transports::Radio::Radio3dr::DeviceVerifyConf(), Transports::Radio::RadioRFDXXXxPtP::DeviceVerifyConf(), and readSentence().
|
protected |
Current line.
Referenced by Transports::Radio::Radio3dr::DeviceVerifyConf(), Transports::Radio::RadioRFDXXXxPtP::DeviceVerifyConf(), and readSentence().
|
protected |
radio Params
Referenced by connectToDevice(), Transports::Radio::Radio3dr::DeviceVerifyConf(), Transports::Radio::RadioRFDXXXxPtP::DeviceVerifyConf(), and openSocket().
|
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(), processCrc(), Transports::Radio::Radio3dr::saveIfExpectedCmdIs(), Transports::Radio::RadioRFDXXXxPtP::saveIfExpectedCmdIs(), Transports::Radio::Radio3dr::sendCommand(), Transports::Radio::RadioRFDXXXxPtP::sendCommand(), and sendData().