Skip to contentSkip to conversation

doc: Add command for limited discoverable procedure

PATCH In review Marcel Holtmann 1 participant 2 messages Apr 20, 2015 – May 13, 2015 Bluetooth drivers

lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

PATCH 1/1 doc: Add command for limited discoverable procedure

---
 doc/mgmt-api.txt | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
doc/mgmt-api.txt +45 -0
index 7a5d33f0f5c0..4b97aad3c6cb 100644
@@ -2655,6 +2655,51 @@ Remove Advertising Command
 				Invalid Index
 
 
+Start Limited Discovery Command
+===============================
+
+	Command Code:		0x0040
+	Controller Index:	<controller id>
+	Command Parameters:	Address_Type (1 Octet)
+	Return Parameters:	Address_Type (1 Octet)
+
+	This command is used to start the process of discovering remote
+	devices using the limited discovery procedure. A Device Found event
+	will be sent for each discovered device.
+
+	Possible values for the Address_Type parameter are a bit-wise or
+	of the following bits:
+
+		0	BR/EDR
+		1	LE Public
+		2	LE Random
+
+	By combining these e.g. the following values are possible:
+
+		1	BR/EDR
+		6	LE (public & random)
+		7	BR/EDR/LE (interleaved discovery)
+
+	The limited discovery uses active scanning for Low Energy scanning
+	and will search for devices with the limited discoverabilty flag
+	configured. On BR/EDR it uses LIAC and filters on the limited
+	discoverabilty flag of the class of device.
+
+	When the discovery procedure starts the Discovery event will
+	notify this similar to Start Discovery.
+
+	This command can only be used when the controller is powered.
+
+	This command generates a Command Complete event on success
+	or failure.
+
+	Possible errors:	Busy
+				Not Supported
+				Invalid Parameters
+				Not Powered
+				Invalid Index
+
+
 Command Complete Event
 ======================
 
Signature · 1 line
2.1.0
author maintainer
#1 lore raw

Hi,

Quoted 34 lines

---
doc/mgmt-api.txt | 45 +++++++++++++++++++++++++++++++++++++++++++++

1 file changed, 45 insertions(+)
doc/mgmt-api.txt +22 -0
index 7a5d33f0f5c0..4b97aad3c6cb 100644
@@ -2655,6 +2655,51 @@ Remove Advertising Command
 				Invalid Index
 
 
+Start Limited Discovery Command
+===============================
+
+	Command Code:		0x0040
+	Controller Index:	<controller id>
+	Command Parameters:	Address_Type (1 Octet)
+	Return Parameters:	Address_Type (1 Octet)
+
+	This command is used to start the process of discovering remote
+	devices using the limited discovery procedure. A Device Found event
+	will be sent for each discovered device.
+
+	Possible values for the Address_Type parameter are a bit-wise or
+	of the following bits:
+
+		0	BR/EDR
+		1	LE Public
+		2	LE Random
+
+	By combining these e.g. the following values are possible:
+
+		1	BR/EDR

doc/mgmt-api.txt Remove Advertising Command · line 2689

Quoted 10 lines
doc/mgmt-api.txt +10 -0
+		6	LE (public & random)
+		7	BR/EDR/LE (interleaved discovery)
+
+	The limited discovery uses active scanning for Low Energy scanning
+	and will search for devices with the limited discoverabilty flag
+	configured. On BR/EDR it uses LIAC and filters on the limited
+	discoverabilty flag of the class of device.
+
+	When the discovery procedure starts the Discovery event will
+	notify this similar to Start Discovery.

who is working on implementing this? We need this command to be included on our set of tools. I do not want to hack hcitool to pass qualification.

Regards

Marcel