Skip to contentSkip to conversation

mgmt-api: Add new action to Add Device

PATCH In review Luiz Augusto von Dentz 2 participants 3 messages Nov 2, 2021 – Nov 10, 2021 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/1 mgmt-api: Add new action to Add Device

From: Luiz Augusto von Dentz <[email protected]>

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(-)
doc/mgmt-api.txt +8 -2
index 97d33e30a..ea91155b0 100644
@@ -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
Signature · 1 line
2.31.1
#1 lore raw

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

#2 lore raw
In reply to Luiz Augusto von Dentz

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