summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorYu Liu <yudiliu@google.com>2021-04-02 11:00:14 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-04-02 16:03:45 -0700
commite291f4f9fe72fb0ca411447ad2f4f4f2600b8284 (patch)
treeeaa5d7d99066252e7ab9ff07ec2907c90c6c0518 /doc
parentfc0875a4a0e383bafc1aaaf9f25f8c90bda38660 (diff)
downloadbluez-e291f4f9fe72fb0ca411447ad2f4f4f2600b8284.tar.gz
doc/mgmt-api - Return connection direction in Device Connected Event
When an MGMT_EV_DEVICE_CONNECTED event is reported back to the user space we will set the flags to tell if the established connection is outbound or not. This is useful for the user space to log better metrics and error messages. Reviewed-by: Miao-chen Chou <mcchou@chromium.org> Reviewed-by: Alain Michaud <alainm@chromium.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/mgmt-api.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
index cab1fffc5..5355fedb0 100644
--- a/doc/mgmt-api.txt
+++ b/doc/mgmt-api.txt
@@ -4088,6 +4088,7 @@ Device Connected Event
0 Reserved (not in use)
1 Legacy Pairing
2 Reserved (not in use)
+ 3 Initiated Connection
Device Disconnected Event
@@ -4261,6 +4262,7 @@ Device Found Event
0 Confirm name
1 Legacy Pairing
2 Not Connectable
+ 3 Reserved (not in use)
For the RSSI field a value of 127 indicates that the RSSI is
not available. That can happen with Bluetooth 1.1 and earlier