You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,10 +110,17 @@ Indicates that a device discovery procedure is active.
110
110
**Kind**: instance method of [<code>Adapter</code>](#Adapter)
111
111
<aname="Adapter+startDiscovery"></a>
112
112
113
-
### adapter.startDiscovery()
113
+
### adapter.startDiscovery([duplicateData])
114
114
This method starts the device discovery session.
115
115
116
-
**Kind**: instance method of [<code>Adapter</code>](#Adapter)
116
+
The `duplicateData` parameter can be used to control [BlueZ duplicate detection](https://web.git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/org.bluez.Adapter.rst).
117
+
118
+
**Kind**: instance method of [<code>Adapter</code>](#Adapter)
119
+
120
+
| Param | Type | Default | Description |
121
+
| --- | --- | --- | --- |
122
+
|[duplicateData]|`boolean`|`true`| Disables duplicate detection of advertisement data. When enabled PropertiesChanged signals will be generated for either ManufacturerData and ServiceData everytime they are discovered. |
0 commit comments