aboutsummaryrefslogtreecommitdiffstats
path: root/examples/direct_bt_scanner00
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-05-25 21:34:38 +0200
committerSven Gothel <[email protected]>2020-05-25 21:34:38 +0200
commit3021035aa42a8d8075615e5159e9ebd2d70b58ae (patch)
treec67a827f4e10229665d793ebd93378ca023fdd74 /examples/direct_bt_scanner00
parent589e2718189a4501c3611cbceffc3a90d2ff7ef5 (diff)
DBTDevice/HCIComm: More 'snappy' connect method names and drop unused LE min/max ce_len,filter params
Show device on connection failure.
Diffstat (limited to 'examples/direct_bt_scanner00')
-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");