doc: Return address for Add Device and Remove Device commands

This commit is contained in:
Marcel Holtmann 2014-06-29 19:40:58 +02:00
parent 8048163458
commit 65ff7dcdb5

View File

@ -1830,12 +1830,18 @@ Add Device Command
Command Parameters: Address (6 Octets) Command Parameters: Address (6 Octets)
Address_Type (1 Octet) Address_Type (1 Octet)
Action (1 Octet) Action (1 Octet)
Return Parameters: Return Parameters: Address (6 Octets)
Address_Type (1 Octet)
This command is used to add a device to the action list. The This command is used to add a device to the action list. The
action list allows scanning for devices and auto-connection action list allows scanning for devices and auto-connection
to known devices. to known devices.
Possible values for the Address_Type parameter:
0 Reserved (not in use)
1 LE Public
2 LE Random
Possible values for the Action parameter: Possible values for the Action parameter:
0 Background scan for device 0 Background scan for device
1 Auto-connect device 1 Auto-connect device
@ -1853,8 +1859,7 @@ Add Device Command
This command generates a Command Complete event on success or This command generates a Command Complete event on success or
a Command Status event on failure. a Command Status event on failure.
Possible errors: Rejected Possible errors: Failed
Not Supported
Invalid Parameters Invalid Parameters
Invalid Index Invalid Index
@ -1866,11 +1871,17 @@ Remove Device Command
Controller Index: <controller id> Controller Index: <controller id>
Command Parameters: Address (6 Octets) Command Parameters: Address (6 Octets)
Address_Type (1 Octet) Address_Type (1 Octet)
Return Parameters: Return Parameters: Address (6 Octets)
Address_Type (1 Octet)
This command is used to remove a device from the action list This command is used to remove a device from the action list
previously added by using the Add Device command. previously added by using the Add Device command.
Possible values for the Address_Type parameter:
0 Reserved (not in use)
1 LE Public
2 LE Random
When the Address parameter is 00:00:00:00:00:00, then all When the Address parameter is 00:00:00:00:00:00, then all
previously added devices wil be removed. previously added devices wil be removed.
@ -1880,9 +1891,7 @@ Remove Device Command
This command generates a Command Complete event on success or This command generates a Command Complete event on success or
a Command Status event on failure. a Command Status event on failure.
Possible errors: Rejected Possible errors: Invalid Parameters
Not Supported
Invalid Parameters
Invalid Index Invalid Index