1 //+----------------------------------------------------------------------------
5 // Module: Kodak DC210 plus communication program
7 // Synopsis: A class to encapsulate communication to the serial port.
13 //+----------------------------------------------------------------------------
25 CSerialPort(char *szDevice);
28 bool Read(BYTE *buf, int iNumBytes);
29 bool Write(BYTE *buf, int iNumBytes);
31 void SetTimeout(int iNewTimeoutSec);
32 int GetBaudrate(void);
33 bool SetBaudrate(int iBps);
34 bool WriteByte(BYTE bData);
36 // bool ReadByte(BYTE *buf);
37 // bool WriteByte(BYTE bData);
45 bool SetupLine(char *szDevice);