TUsb Respiration Belt plugin 1.0
Public Member Functions | Static Public Member Functions | Public Attributes

LSerie Class Reference

List of all members.

Public Member Functions

 LSerie ()
 Constructeur de la classe par défaut.
bool CheckPort (unsigned int num)
bool open (int numPort, long speedInBaud)
bool open (int numPort, long speedInBaud, int nbBit, int parity, float nbStopBit)
void closeCom ()
bool setTimeOut (DWORD ms)
bool setSpeed (DWORD baudrate)
int sendData (DWORD lg, LPBYTE data)
int sendData (string *data)
int receiveData (DWORD lg, LPBYTE data)
int receiveData (string *data)
bool setRts (bool val)
bool setDtr (bool val)
bool setTxd (bool val)
bool getCts ()
bool getDtr ()
bool getRi ()
bool getCd ()
bool isConnect ()
string getErrorMsg ()

Static Public Member Functions

static std::list< unsigned int > enumAvailablePorts ()

Public Attributes

int currentPort
HANDLE comport

Detailed Description

Definition at line 14 of file LSerie.h.


Constructor & Destructor Documentation

LSerie::LSerie ( )

Constructeur de la classe par défaut.

Il paramétre une communication série sur COM1 à 9600 Bauds, 8 bit et pas de parté.

Definition at line 14 of file LSerie.cpp.


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