DUNE: Uniform Navigational Environment  2.6.1
Transports::GSM::Driver Class Reference

Public Member Functions

 Driver (Tasks::Task *task, SerialPort *uart, const std::string &pin="")
 
 ~Driver (void)
 
void checkMessages (void)
 
void sendSMS (const std::string &number, const std::string &msg, double timeout)
 

Constructor & Destructor Documentation

Transports::GSM::Driver::Driver ( Tasks::Task *  task,
SerialPort *  uart,
const std::string &  pin = "" 
)
inline

Constructor.

Parameters
[in]taskparent task.
[in]uartserial port connected to the ISU.
[in]pinPIN number.
Transports::GSM::Driver::~Driver ( void  )
inline

Destructor.

Member Function Documentation

void Transports::GSM::Driver::checkMessages ( void  )
inline
void Transports::GSM::Driver::sendSMS ( const std::string &  number,
const std::string &  msg,
double  timeout 
)
inline
Collaboration diagram for Transports::GSM::Driver:
Collaboration graph