aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-06-01 06:26:31 +0200
committerSven Gothel <[email protected]>2020-06-01 06:26:31 +0200
commit0617cb3c695f709a5488987dcd464d5d03c72d5c (patch)
tree4517bd783be0bc27e5a1852add5fbf3cad29af7d /java
parente462d079db0a3f77a631016a557cfceea3506307 (diff)
Specify le_create_connection arguments (API doc) and set default le_scan_* to 30ms from 2.5ms
Diffstat (limited to 'java')
-rw-r--r--java/org/tinyb/BluetoothDevice.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/java/org/tinyb/BluetoothDevice.java b/java/org/tinyb/BluetoothDevice.java
index d4b03019..ba8fa10e 100644
--- a/java/org/tinyb/BluetoothDevice.java
+++ b/java/org/tinyb/BluetoothDevice.java
@@ -88,11 +88,11 @@ public interface BluetoothDevice extends BluetoothObject
* Set window to the same value as the interval, enables continuous scanning.
* </p>
*
- * @param le_scan_interval default value 0x0004
- * @param le_scan_window default value 0x0004
- * @param conn_interval_min default value 0x000F
- * @param conn_interval_max default value 0x000F
- * @param conn_latency default value 0x0000
+ * @param le_scan_interval in units of 0.625ms, default value 48 for 30ms, min value 4 for 2.5ms -> 0x4000 for 10.24s
+ * @param le_scan_window in units of 0.625ms, default value 48 for 30ms, min value 4 for 2.5ms -> 0x4000 for 10.24s. Shall be <= le_scan_interval
+ * @param conn_interval_min in units of 1.25ms, default value 15 for 19.75ms
+ * @param conn_interval_max in units of 1.25ms, default value 15 for 19.75ms
+ * @param conn_latency slave latency in units of connection events, default value 0
* @param timeout in units of 10ms, default value 1000 for 10000ms or 10s.
* @return {@code true} if successful, otherwise {@code false}.
*