-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 6326ad0..607d8f1 100644 --- a/libopie2/examples/opienet/onetworkdemo/onetworkdemo.cpp +++ b/libopie2/examples/opienet/onetworkdemo/onetworkdemo.cpp | |||
@@ -47,4 +47,12 @@ int main( int argc, char** argv ) | |||
47 | qDebug( "DEMO: Operation Mode change successful." ); | 47 | qDebug( "DEMO: Operation Mode change successful." ); |
48 | 48 | ||
49 | // RF channel | ||
50 | qDebug( "DEMO: Current Channel is '%d'", iface->channel() ); | ||
51 | iface->setChannel( 1 ); | ||
52 | if ( iface->channel() != 1 ) | ||
53 | qDebug( "DEMO: Warning! Can't change RF channel" ); | ||
54 | else | ||
55 | qDebug( "DEMO: RF channel change successful." ); | ||
56 | |||
49 | iface->setMode( "managed" ); | 57 | iface->setMode( "managed" ); |
50 | 58 | ||