|
|
Provides a easy way to do serial port communication under Linux.
QString ReturnString | ReturnString |
QString Port | Port |
int ParityBit | ParityBit |
int StopBits | StopBits |
int BaudRate | BaudRate |
int WordLength | WordLength |
char RxDataBuffer | RxDataBuffer |
bool RxDataIsWaiting | RxDataIsWaiting |
STPortDialog * PortDialog | PortDialog |
bool UserChangedStatusFromDialog | UserChangedStatusFromDialog |
int DebugLevel | DebugLevel |
bool SetDebugLevel (int NewDebugLevel)
| SetDebugLevel |
char Getc ()
| Getc |
byte Getb ()
| Getb |
QString Gets ()
| Gets |
int Putc (char TheChar)
| Putc |
int Puts (QString &String)
| Puts |
int SetBaud (int NewBaudRate)
| SetBaud |
int SetParity (int ParityValue)
| SetParity |
int SetStopBits (int NumberOfStopBits)
| SetStopBits |
int SetWordLength (int SelectedWordLength)
| SetWordLength |
bool Activate ()
| Activate |
int Deactivate ()
| Deactivate |
bool IsDataWaiting ()
| IsDataWaiting |
int GetBytes (byte *BytesSoragePointer,int ReadSize)
| GetBytes |
int PutBytes (byte *BytesSoragePointer,int WriteSize)
| PutBytes |
int GetNumberOfBytesWaiting ()
| GetNumberOfBytesWaiting |
QString BaudRateAsText ()
| BaudRateAsText |
QString ParityAsText ()
| ParityAsText |
QString WordLengthAsText ()
| WordLengthAsText |
QString StopBitsAsText ()
| StopBitsAsText |
bool IsDialogVisible ()
| IsDialogVisible |
void PrepareTheDialog ()
| PrepareTheDialog |
void ShowDialog ()
| ShowDialog |
void HideDialog ()
| HideDialog |
void LoadSettings ()
| LoadSettings |
void SaveSettings ()
| SaveSettings |
STXcom (QObject *parent, const char *name, QString &PortNumber)
| STXcom |
The constructor of the serial port object. If the PortNumber string = "from ini" then the settings will be read from the ini file.
STXcom (QObject *parent, const char *name, const char *PortNumber)
| STXcom |
bool IsPortActive ()
| IsPortActive |
void InitSTXcom (QString &PortNumber)
| InitSTXcom |
void SetTransmitDelay (int MicroSeconds)
| SetTransmitDelay |
~STXcom ()
| ~STXcom |
void DataReadWrite (int IndexCounter)
| DataReadWrite |
[signal]
Generated by: root on UtopiaPlanitia.Ept on Mon Dec 10 22:55:12 2001, using kdoc 2.0a53. |