diff options
author | Sven Gothel <[email protected]> | 2020-05-25 21:34:38 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-05-25 21:34:38 +0200 |
commit | 3021035aa42a8d8075615e5159e9ebd2d70b58ae (patch) | |
tree | c67a827f4e10229665d793ebd93378ca023fdd74 /examples/direct_bt_scanner00 | |
parent | 589e2718189a4501c3611cbceffc3a90d2ff7ef5 (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.cpp | 2 |
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"); |