Rudiments
|
#include <modemutil.h>
Inherited by modemclient, and modemserver.
Public Member Functions | |
modemutil () | |
virtual | ~modemutil () |
void | setDevice (const char *device) |
void | setBaud (const char *baud) |
const char * | getDevice () |
const char * | getBaud () |
The modemutil class is just a base class for other classes that use modems. It unlikely to need to be used directly.
modemutil::modemutil | ( | ) |
Creates an instance of the modemutil class.
|
virtual |
Deletes this instance of the modemutil class.
Returns the (serial) device name set by the most recent call to setDevice().
Sets the baud rate to be used when talking to the serial port. Eg. 115200 Note that this is not the baud rate used by the modem itself. That must usually be set using AT commands or similar.