API Documentation
|
#include <SerialPort.h>
Public Member Functions | |
SerialPort (char *portName) | |
~SerialPort () | |
int | readSerialPort (char *buffer, unsigned int buf_size) |
bool | writeSerialPort (char *buffer, unsigned int buf_size) |
bool | isConnected () |
Static Public Member Functions | |
static Buffer< String > | getAvailablePorts () |
static bool | isDisabled (const String &name) |
Public Attributes | |
bool | connected |
SerialPort | ( | char * | portName | ) |
~SerialPort | ( | ) |
bool isConnected | ( | ) |
|
static |
int readSerialPort | ( | char * | buffer, |
unsigned int | buf_size ) |
bool writeSerialPort | ( | char * | buffer, |
unsigned int | buf_size ) |
bool connected |