-// $Id: ULEdec.cc 327 2007-07-20 10:03:44Z tho $
+// $Id$
//
-// Copyright (C) 2006
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-// Stefan Bund <stefan.bund@fokus.fraunhofer.de>
+// Copyright (C) 2007
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
+// Thorsten Horstmann <tho@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
#include <string>
#include <iostream>
-#include <iomanip>
-#include <sys/ioctl.h>
-#include <linux/sockios.h>
-#include <linux/dvb/dmx.h>
-
-#include "Scheduler/Scheduler.hh"
-#include "Packets/DefaultBundle/EthernetPacket.hh"
-#include "Packets/MPEGDVBBundle/DatagramSection.hh"
-#include "Utils/membind.hh"
-#include "Socket/DVBFrontendHandle.hh"
-#include "Packets/ParseInt.hh"
-#include "Packets/Packet.hh"
-#include "Packets/PacketData.hh"
+#include <senf/Socket/Protocols/DVB.hh>
#define prefix_
///////////////////////////////cc.p////////////////////////////////////////
try {
senf::DVBFrontendHandle handle;
int16_t strength;
-
+
while (true) {
handle.protocol().signalStrength(&strength);
std::cout << "signal strength: " << strength << "\n";
return 0;
}
-
///////////////////////////////cc.e////////////////////////////////////////
#undef prefix_