summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--examples/opiebluez/oblueztest/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/opiebluez/oblueztest/main.cpp b/examples/opiebluez/oblueztest/main.cpp
index f50847e..35fd2d9 100644
--- a/examples/opiebluez/oblueztest/main.cpp
+++ b/examples/opiebluez/oblueztest/main.cpp
@@ -1,5 +1,21 @@
1#include <opie2/odebug.h>
2#include <opie2/obluetooth.h>
3#include <opie2/oinfrared.h>
4
5using namespace Opie::Core;
6using namespace Opie::Shower;
7
1int main( int argc, char** argv ) 8int main( int argc, char** argv )
2{ 9{
10 OBluetooth* sys = OBluetooth::instance();
11
12 OBluetooth::InterfaceIterator it = sys->iterator();
13
14 while( it.current() )
15 {
16 odebug << "APP: Bluetooth host controller interface '" << it.current()->name() << "' has MAC '" << it.current()->macAddress() << "'" << oendl;
17 ++it;
18 }
3 return 0; 19 return 0;
4} 20}
5 21