summaryrefslogtreecommitdiffstats
path: root/examples/direct_bt_scanner10/dbt_scanner10.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/direct_bt_scanner10/dbt_scanner10.cpp')
-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[])