/[H7]/trunk/H7 Server/H7Serial.h
ViewVC logotype

Annotation of /trunk/H7 Server/H7Serial.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 23 - (hide annotations) (download)
Wed Jan 31 08:41:26 2007 UTC (17 years, 4 months ago) by torben
File MIME type: text/plain
File size: 288 byte(s)
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 torben 23 #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