58#define _MAX_MSG_LENGTH \
61#define _MAX_QUEUE_LENGTH \
The class needed by UWMPhy_modem to manage string exchange with the modem.
uint getDriverQueueLength()
UWMdriver * pmDriver
Pointer to UWMdriver object that contains this UWMconnector.
std::string pathToDevice
The path to be connected with the modem device.
std::queue< msgModem > queueMsg
Queue used to buffer incoming strings from the modem.
virtual int writeToModem(std::string)=0
Method for writing to the modem.
std::string readFromModem()
Method to check the receiving modem buffer.
~UWMconnector()
Class destructor.
void setDriverQueueLength(int length)
virtual int openConnection()=0
Method to open the connection with the modem.
UWMconnector(UWMdriver *, std::string)
Class constructor.
virtual void closeConnection()
Method to close the connection with the modem.
The class needed by UWMPhy_modem to handle the different transmissions cases and corresponding protoc...
int msg_length
Length of the message (bytes).
std::string msg_rx
Message from the modem.