API Documentation
Loading...
Searching...
No Matches
SerialPort Class Reference

#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< StringgetAvailablePorts ()
 
static bool isDisabled (const String &name)
 

Public Attributes

bool connected
 

Constructor & Destructor Documentation

◆ SerialPort()

SerialPort ( char * portName)

◆ ~SerialPort()

~SerialPort ( )

Member Function Documentation

◆ getAvailablePorts()

Buffer< String > getAvailablePorts ( )
static

◆ isConnected()

bool isConnected ( )

◆ isDisabled()

bool isDisabled ( const String & name)
static

◆ readSerialPort()

int readSerialPort ( char * buffer,
unsigned int buf_size )

◆ writeSerialPort()

bool writeSerialPort ( char * buffer,
unsigned int buf_size )

Member Data Documentation

◆ connected

bool connected

The documentation for this class was generated from the following files: