[RFC BlueZ] mgmt-api: Introduce Test command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

This introduces Test command which can be use to further extend the
subcommands which are intented to test the behavior of the kernel
outside the normal scope of Bluetooth subsystem (e.g. suspend, resume,
etc).
---
 doc/mgmt-api.txt | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
index 5355fedb0..164a0514d 100644
--- a/doc/mgmt-api.txt
+++ b/doc/mgmt-api.txt
@@ -3856,6 +3856,33 @@ Add Advertisement Patterns Monitor With RSSI Threshold Command
 				No Resources
 				Invalid Parameters
 
+Test Command
+============
+	Command Code:		0xffff
+	Controller Index:	<controller id>
+	Command Parameters:	Subcommand code (1 Octet)
+				Subcommand length (2 Octects)
+	Return Parameters:      subcommand return (variable)
+
+	This command is meant for testing only, it shall not be used in
+	production.
+
+	Possible subcommands:
+
+	Suspend
+	-------
+	Subcommand Code:	0x0001
+	Subcommand Parameters:
+	Subcommand Return Parameters:
+
+	Resume
+	-------
+	Subcommand Code:	0x0002
+	Subcommand Parameters:
+	Subcommand Return Parameters:
+
+	Possible errors:	Failed
+				Subcommand errors
 
 Command Complete Event
 ======================
-- 
2.31.1




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux