Diffstat (limited to 'libopie2/examples/opienet/onetworkdemo/onetworkdemo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/examples/opienet/onetworkdemo/onetworkdemo.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libopie2/examples/opienet/onetworkdemo/onetworkdemo.cpp b/libopie2/examples/opienet/onetworkdemo/onetworkdemo.cpp index 7703b4c..b010ac5 100644 --- a/libopie2/examples/opienet/onetworkdemo/onetworkdemo.cpp +++ b/libopie2/examples/opienet/onetworkdemo/onetworkdemo.cpp | |||
@@ -26,6 +26,14 @@ int main( int argc, char** argv ) | |||
26 | qDebug( "DEMO: Associated AP has MAC Address '%s'", (const char*) iface->associatedAP() ); | 26 | qDebug( "DEMO: Associated AP has MAC Address '%s'", (const char*) iface->associatedAP() ); |
27 | //} | 27 | //} |
28 | 28 | ||
29 | // try to set monitor mode | ||
30 | |||
31 | // first some wrong calls to check if this is working | ||
32 | iface->setPrivate( "seppel", 10 ); | ||
33 | iface->setPrivate( "monitor", 0 ); | ||
34 | |||
35 | // now the real deal | ||
36 | iface->setPrivate( "monitor", 2, 2, 3 ); | ||
29 | } | 37 | } |
30 | ++it; | 38 | ++it; |
31 | } | 39 | } |