Indent
[bcusdk.git] / eibd / server / b-PEI16s.h
blobeded96cf32c7cb639decd3309ff9a44acd919c3d
1 /*
2 EIBD eib bus access and management daemon
3 Copyright (C) 2005-2007 Martin Kögler <mkoegler@auto.tuwien.ac.at>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 #ifndef C_PEI16s_H
21 #define C_PEI16s_H
23 #include "emi1.h"
24 #include "bcu1serial.h"
26 #define PEI16s_URL "bcu1s:/dev/ttySx\n"
27 #define PEI16s_DOC "bcu1s connects using the PEI16 Protocoll over a BCU to the bus (using a experimental user mode driver, tracelevel % 2 must be 1 and the output must be displayed in a fast enough terminal)\n\n"
29 #define PEI16s_PREFIX "bcu1s"
30 #define PEI16s_CREATE PEI16s_Create
32 inline Layer2Interface *
33 PEI16s_Create (const char *dev, Trace * t)
35 return new EMI1Layer2Interface (new BCU1SerialLowLevelDriver (dev, t), t);
38 #endif