aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-02-07 02:52:21 +0100
committerSven Gothel <[email protected]>2022-02-07 02:52:21 +0100
commitc98ed0e3cb52aac1b7ce39647a23e1bbb3e3bac8 (patch)
tree5b182079abec43b12682b01a346a51fe67a43931 /java
parent97d0ed973aaa62f5c138ff37428fbae03be6a667 (diff)
BTDevice: Replace EInfoReport when disconnected w/ empty one (avoid accumulation across connects w/o removeDevice), incl in unit test
Diffstat (limited to 'java')
-rw-r--r--java/org/direct_bt/BTDevice.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/org/direct_bt/BTDevice.java b/java/org/direct_bt/BTDevice.java
index f1218b3a..6b25a3cf 100644
--- a/java/org/direct_bt/BTDevice.java
+++ b/java/org/direct_bt/BTDevice.java
@@ -790,6 +790,8 @@ public interface BTDevice extends BTObject
/**
* Return the merged advertised {@link EInfoReport} for this remote device.
+ *
+ * The EInfoReport is replaced by new scan-reports (update) and when disconnected (empty).
* @since 2.5.3
*/
EInfoReport getEIR();