diff options
-rw-r--r-- | examples/direct_bt_scanner10/dbt_scanner10.cpp | 1 | ||||
-rw-r--r-- | examples/java/ScannerTinyB10.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/direct_bt_scanner10/dbt_scanner10.cpp b/examples/direct_bt_scanner10/dbt_scanner10.cpp index 6a275553..8c8736ab 100644 --- a/examples/direct_bt_scanner10/dbt_scanner10.cpp +++ b/examples/direct_bt_scanner10/dbt_scanner10.cpp @@ -322,6 +322,7 @@ static void processConnectedDevice(std::shared_ptr<DBTDevice> device) { exit: if( KEEP_CONNECTED ) { while( device->pingGATT() ) { + fprintf(stderr, "****** Processing Device: pingGATT OK: %s\n", device->getAddressString().c_str()); std::this_thread::sleep_for(std::chrono::milliseconds(1000)); } fprintf(stderr, "****** Processing Device: pingGATT failed: %s\n", device->getAddressString().c_str()); diff --git a/examples/java/ScannerTinyB10.java b/examples/java/ScannerTinyB10.java index 98c09b31..1c1e2ad1 100644 --- a/examples/java/ScannerTinyB10.java +++ b/examples/java/ScannerTinyB10.java @@ -256,6 +256,7 @@ public class ScannerTinyB10 { } if( KEEP_CONNECTED ) { while( device.pingGATT() ) { + System.err.println("****** Processing Device: pingGATT OK: "+device.getAddress()); try { Thread.sleep(1000); } catch (final InterruptedException e) { |