|
TUsb Respiration Belt plugin 1.0
|
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 |
| 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.
1.7.3