Logo Search packages:      
Sourcecode: picp version File versions  Download package

serial.h

bool ByteWaiting(int theDevice,unsigned int timeOut);
unsigned int ReadBytes(int theDevice,unsigned char *theBytes,unsigned int maxBytes,unsigned int timeOut);
void WriteBytes(int theDevice,unsigned char *theBytes,unsigned int numBytes);
void FlushBytes(int theDevice);
bool ConfigureDevice(int theDevice,unsigned int baudRate,unsigned char dataBits,unsigned char stopBits,unsigned char parity,bool cooked);
void GetDeviceConfiguration(int theDevice,unsigned int *baudRate,unsigned char *dataBits,unsigned char *stopBits,unsigned char *parity);
bool ConfigureFlowControl(int theDevice,bool wantControl);
void GetDeviceStatus(int theDevice,bool *CTS,bool *DCD);
void SetDTR(int theDevice,bool DTR);
bool OpenDevice(char *theName,int *theDevice);
void CloseDevice(int theDevice);

Generated by  Doxygen 1.6.0   Back to index