mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-19 10:05:09 +08:00
mgmt-api: Add comments for valid commands when power off
This commit is contained in:
parent
40554f5a9d
commit
4ebdcf49dc
@ -144,6 +144,12 @@ Set Discoverable Command
|
||||
Timeout is the time in seconds and is only meningful when
|
||||
Discoverable is set to 1.
|
||||
|
||||
This command can be used when the controller is not powered and
|
||||
all settings will be programmed once powered.
|
||||
|
||||
However using a timeout when the controller is not powered will
|
||||
return an error.
|
||||
|
||||
This command generates a Command Complete event on success or
|
||||
a Command Status event on failure.
|
||||
|
||||
@ -156,6 +162,9 @@ Set Connectable Command
|
||||
Command Parameters: Connectable (1 Octet)
|
||||
Return Parameters: Current_Settings (4 Octets)
|
||||
|
||||
This command can be used when the controller is not powered and
|
||||
all settings will be programmed once powered.
|
||||
|
||||
This command generates a Command Complete event on success or
|
||||
a Command Status event on failure.
|
||||
|
||||
@ -168,6 +177,9 @@ Set Fast Connectable Command
|
||||
Command Parameters: Enable (1 Octet)
|
||||
Return Parameters: Current_Settings (4 Octets)
|
||||
|
||||
This command can be used when the controller is not powered and
|
||||
all settings will be programmed once powered.
|
||||
|
||||
This command generates a Command Complete event on success or
|
||||
a Command Status event on failure.
|
||||
|
||||
@ -180,6 +192,9 @@ Set Pairable Command
|
||||
Command Parameters: Pairable (1 Octet)
|
||||
Return Parameters: Current_Settings (4 Octets)
|
||||
|
||||
This command can be used when the controller is not powered and
|
||||
all settings will be programmed once powered.
|
||||
|
||||
This command generates a Command Complete event on success or
|
||||
a Command Status event on failure.
|
||||
|
||||
@ -192,6 +207,9 @@ Set Link Security Command
|
||||
Command Parameters: Link_Security (1 Octet)
|
||||
Return Parameters: Current_Settings (4 Octets)
|
||||
|
||||
This command can be used when the controller is not powered and
|
||||
all settings will be programmed once powered.
|
||||
|
||||
This command generates a Command Complete event on success or
|
||||
a Command Status event on failure.
|
||||
|
||||
@ -204,6 +222,12 @@ Set Secure Simple Pairing Command
|
||||
Command Parameters: Secure_Simple_Pairing (1 Octet)
|
||||
Return Parameters: Current_Settings (4 Octets)
|
||||
|
||||
This command can be used when the controller is not powered and
|
||||
all settings will be programmed once powered.
|
||||
|
||||
In case the controller does not support Secure Simple Pairing,
|
||||
the command will fail regardless.
|
||||
|
||||
This command generates a Command Complete event on success or
|
||||
a Command Status event on failure.
|
||||
|
||||
@ -216,6 +240,12 @@ Set High Speed Command
|
||||
Command Parameters: High_Speed (1 Octet)
|
||||
Return Parameters: Current_Settings (4 Octets)
|
||||
|
||||
This command can be used when the controller is not powered and
|
||||
all settings will be programmed once powered.
|
||||
|
||||
In case the kernel subsystem does not support High Speed, the
|
||||
command will fail regardless.
|
||||
|
||||
This command generates a Command Complete event on success or
|
||||
a Command Status event on failure.
|
||||
|
||||
@ -228,6 +258,12 @@ Set Low Energy Command
|
||||
Command Parameters: Low_Energy (1 Octet)
|
||||
Return Parameters: Current_Settings (4 Octets)
|
||||
|
||||
This command can be used when the controller is not powered and
|
||||
all settings will be programmed once powered.
|
||||
|
||||
In case the kernel subsystem does not support Low Energy or the
|
||||
controller does not either, the command will fail regardless.
|
||||
|
||||
This command generates a Command Complete event on success or
|
||||
a Command Status event on failure.
|
||||
|
||||
@ -669,6 +705,9 @@ Set Device ID Command
|
||||
Version (2 Octets)
|
||||
Return Parameters:
|
||||
|
||||
This command can be used when the controller is not powered and
|
||||
all settings will be programmed once powered.
|
||||
|
||||
The Source parameter selects the organization that assigned the
|
||||
Vendor parameter:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user