summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-09-27 20:22:01 +0200
committerSven Gothel <[email protected]>2020-09-27 20:22:01 +0200
commit68ab17d711da9bea6753d3d167aa77473c71d9fe (patch)
treeadfca92b77adc9e2f59048a5ffdbc1dd48633340 /examples
parentf431bdf0a81c2e3b3858f109d26f45c61fe54367 (diff)
dbt_scanner10/DBTScanner10: Fix Skip non 'public LE' and non 'random static public LE'; Add remark re BREDR and LE Secure Connection requirement in comment.
Diffstat (limited to 'examples')
-rw-r--r--examples/direct_bt_scanner10/dbt_scanner10.cpp3
-rw-r--r--examples/java/DBTScanner10.java3
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/direct_bt_scanner10/dbt_scanner10.cpp b/examples/direct_bt_scanner10/dbt_scanner10.cpp
index 0653c4c5..e04294e1 100644
--- a/examples/direct_bt_scanner10/dbt_scanner10.cpp
+++ b/examples/direct_bt_scanner10/dbt_scanner10.cpp
@@ -155,7 +155,8 @@ class MyAdapterStatusListener : public AdapterStatusListener {
if( BDAddressType::BDADDR_LE_PUBLIC != device->getAddressType()
&& BLERandomAddressType::STATIC_PUBLIC != device->getBLERandomAddressType() ) {
- fprintf(stderr, "****** FOUND__-2: Skip 'non public' or 'random static public' LE %s\n", device->toString(true).c_str());
+ // Requires BREDR or LE Secure Connection support: WIP
+ fprintf(stderr, "****** FOUND__-2: Skip non 'public LE' and non 'random static public LE' %s\n", device->toString(true).c_str());
return;
}
if( !isDeviceProcessing( device->getAddress() ) &&
diff --git a/examples/java/DBTScanner10.java b/examples/java/DBTScanner10.java
index caa72def..f8ae9b1e 100644
--- a/examples/java/DBTScanner10.java
+++ b/examples/java/DBTScanner10.java
@@ -135,7 +135,8 @@ public class DBTScanner10 {
if( BluetoothAddressType.BDADDR_LE_PUBLIC != device.getAddressType()
&& BLERandomAddressType.STATIC_PUBLIC != device.getBLERandomAddressType() ) {
- println("****** FOUND__-2: Skip 'non public' or 'random static public' LE "+device.toString());
+ // Requires BREDR or LE Secure Connection support: WIP
+ println("****** FOUND__-2: Skip non 'public LE' and non 'random static public LE' "+device.toString());
return;
}
if( !devicesInProcessing.contains( device.getAddress() ) &&