summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-07-03 18:40:37 +0200
committerSven Gothel <[email protected]>2020-07-03 18:40:37 +0200
commit1b623173885bee4223efc44253bbcdb9fe7c5bf7 (patch)
treeef25ed111b4123191b47700a2330d1774dcbfe0c /examples
parent0a58adf310f9ae29f0e753c9594e6879e0e2c0c7 (diff)
DBTAdapter::printDevices() -> printSharedPtrListOfDevices() + API doc remark: .. debug facility
Diffstat (limited to 'examples')
-rw-r--r--examples/direct_bt_scanner10/dbt_scanner10.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/direct_bt_scanner10/dbt_scanner10.cpp b/examples/direct_bt_scanner10/dbt_scanner10.cpp
index 8c8736ab..8a1f7087 100644
--- a/examples/direct_bt_scanner10/dbt_scanner10.cpp
+++ b/examples/direct_bt_scanner10/dbt_scanner10.cpp
@@ -252,7 +252,7 @@ static void processConnectedDevice(std::shared_ptr<DBTDevice> device) {
// GATT Service Processing
//
fprintf(stderr, "****** Processing Device: GATT start: %s\n", device->getAddressString().c_str());
- device->getAdapter().printDevices();
+ device->getAdapter().printSharedPtrListOfDevices();
try {
std::vector<GATTServiceRef> primServices = device->getGATTServices(); // implicit GATT connect...
if( 0 == primServices.size() ) {
@@ -337,7 +337,7 @@ exit:
fprintf(stderr, "****** Processing Device: removing: %s\n", device->getAddressString().c_str());
device->remove();
}
- device->getAdapter().printDevices();
+ device->getAdapter().printSharedPtrListOfDevices();
removeFromDevicesProcessing(device->getAddress());
if( 0 < MULTI_MEASUREMENTS ) {
@@ -400,7 +400,7 @@ void test(int dev_id) {
}
}
fprintf(stderr, "****** EOL Adapter's Devices\n");
- adapter.printDevices();
+ adapter.printSharedPtrListOfDevices();
}
int main(int argc, char *argv[])