Parent Directory | Revision Log
Added: CSerial - abstraction of a serial port, CSlipSerial - (Inherits from CSerial) abstraction of the SLIP datalink protocol CH7Serial - (Inherits from CSlipSerial) abstraction of our own protocol
1 | #pragma once |
2 | #include "slipserial.h" |
3 | |
4 | class CH7Serial : |
5 | public CSlipSerial |
6 | { |
7 | public: |
8 | CH7Serial(void); |
9 | CH7Serial(char* port, int bitrate); |
10 | virtual ~CH7Serial(void); |
11 | |
12 | void writeTarget(unsigned char target, unsigned char data); |
13 | short readTarget(unsigned char target); |
14 | }; |
ViewVC Help | |
Powered by ViewVC 1.1.20 |