aboutsummaryrefslogtreecommitdiffstats
path: root/examples/direct_bt_scanner00/dbt_scanner00.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/direct_bt_scanner00/dbt_scanner00.cpp')
-rw-r--r--examples/direct_bt_scanner00/dbt_scanner00.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/direct_bt_scanner00/dbt_scanner00.cpp b/examples/direct_bt_scanner00/dbt_scanner00.cpp
index db6337a1..1773097d 100644
--- a/examples/direct_bt_scanner00/dbt_scanner00.cpp
+++ b/examples/direct_bt_scanner00/dbt_scanner00.cpp
@@ -223,7 +223,7 @@ int main(int argc, char *argv[])
// (Without: Overall communication takes ~twice as long!!!)
//
if( doHCI_Connect ) {
- if( 0 == device->connectHCIDefault() ) {
+ if( 0 == device->connectDefault() ) {
fprintf(stderr, "Connect: Failed %s\n", device->toString().c_str());
} else {
fprintf(stderr, "Connect: Success\n");