diff mbox series

[BlueZ] mgmt-api: Add new action to Add Device

Message ID 20211102221046.23293-1-luiz.dentz@gmail.com (mailing list archive)
State Queued, archived
Headers show
Series [BlueZ] mgmt-api: Add new action to Add Device | expand

Checks

Context Check Description
tedd_an/checkpatch success Checkpatch PASS
tedd_an/gitlint success Gitlint PASS
tedd_an/setupell success Setup ELL PASS
tedd_an/buildprep success Build Prep PASS
tedd_an/build success Build Configuration PASS
tedd_an/makecheck success Make Check PASS
tedd_an/makedistcheck success Make Distcheck PASS
tedd_an/build_extell success Build External ELL PASS
tedd_an/build_extell_make success Build Make with External ELL PASS

Commit Message

Luiz Augusto von Dentz Nov. 2, 2021, 10:10 p.m. UTC
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This adds a new action, Action 3, to Add Device command so it is
possible to set the Device Privacy Mode which allows to connect when the
remote device uses either identity or random address.

Since Network Privacy Mode is assumed to be the default Action 2 has
been updates to state that would be used when the device is using
privacy.
---
 doc/mgmt-api.txt | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Comments

bluez.test.bot@gmail.com Nov. 2, 2021, 10:36 p.m. UTC | #1
This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=574409

---Test result---

Test Summary:
CheckPatch                    PASS      0.42 seconds
GitLint                       PASS      0.28 seconds
Prep - Setup ELL              PASS      44.42 seconds
Build - Prep                  PASS      0.26 seconds
Build - Configure             PASS      7.85 seconds
Build - Make                  PASS      189.35 seconds
Make Check                    PASS      9.16 seconds
Make Distcheck                PASS      226.19 seconds
Build w/ext ELL - Configure   PASS      7.99 seconds
Build w/ext ELL - Make        PASS      177.76 seconds



---
Regards,
Linux Bluetooth
bluez.test.bot@gmail.com Nov. 10, 2021, 6:38 p.m. UTC | #2
This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=574409

---Test result---

Test Summary:
CheckPatch                    PASS      0.48 seconds
GitLint                       PASS      0.30 seconds
Prep - Setup ELL              PASS      48.29 seconds
Build - Prep                  PASS      0.21 seconds
Build - Configure             PASS      9.06 seconds
Build - Make                  PASS      207.87 seconds
Make Check                    PASS      9.27 seconds
Make Distcheck                PASS      245.43 seconds
Build w/ext ELL - Configure   PASS      9.03 seconds
Build w/ext ELL - Make        PASS      197.71 seconds



---
Regards,
Linux Bluetooth
diff mbox series

Patch

diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
index 97d33e30a..ea91155b0 100644
--- a/doc/mgmt-api.txt
+++ b/doc/mgmt-api.txt
@@ -2027,7 +2027,8 @@  Add Device Command
 	Possible values for the Action parameter:
 		0	Background scan for device
 		1	Allow incoming connection
-		2	Auto-connect remote device
+		2	Auto-connect remote devices using Network Privacy Mode
+		3	Auto-connect remote devices using Device Privacy Mode
 
 	With the Action 0, when the device is found, a new Device Found
 	event will be sent indicating this device is available. This
@@ -2041,7 +2042,12 @@  Add Device Command
 
 	With the Action 2, when the device is found, it will be connected
 	and if successful a Device Connected event will be sent. This
-	action is only valid for LE Public and LE Random address types.
+	action is only valid for LE Public and LE Random address types using
+	Network Privacy Mode.
+
+	With the Action 3, works like Action 2 but instead uses Device Privacy
+	Mode for devices using LE Random address which allows the use of both
+	random and identity addresses.
 
 	When a device is blocked using Block Device command, then it is
 	valid to add the device here, but all actions will be ignored