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

typedef std::vector<unsigned char> SerialPort::DataBuffer

Read the specified number of bytes from the serial port. The method will timeout if no data is received in the specified number of milliseconds (msTimeout). If msTimeout is 0, then this method will block till all requested bytes are received. If numOfBytes is zero, then this method will keep reading data till no more data is available at the serial port. In all cases, all read data is available in dataBuffer on return from this method.

Definition at line 353 of file SerialPort.h.


Generated by  Doxygen 1.6.0   Back to index