summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorArchie Pusaka <apusaka@chromium.org>2021-11-25 15:06:23 +0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-11-29 09:43:41 -0800
commitdb31aecae07e20a08fd92f66b540ac962e72efc7 (patch)
tree28b6f962174654a3897c0783aaa5d5bea36aa873 /lib
parentaa699cb762a02ec7409940ddcfe65b788de8270d (diff)
downloadbluez-db31aecae07e20a08fd92f66b540ac962e72efc7.tar.gz
mgmt: Add NAME_REQUEST_FAILED flag for device_found event
Report failure when resolving remote name to userspace. This is useful so the userspace can make an informed decision when to retry name resolving procedure. Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/mgmt.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/mgmt.h b/lib/mgmt.h
index 9f34b7f28..922a24367 100644
--- a/lib/mgmt.h
+++ b/lib/mgmt.h
@@ -854,9 +854,10 @@ struct mgmt_ev_auth_failed {
uint8_t status;
} __packed;
-#define MGMT_DEV_FOUND_CONFIRM_NAME 0x01
-#define MGMT_DEV_FOUND_LEGACY_PAIRING 0x02
-#define MGMT_DEV_FOUND_NOT_CONNECTABLE 0x04
+#define MGMT_DEV_FOUND_CONFIRM_NAME 0x01
+#define MGMT_DEV_FOUND_LEGACY_PAIRING 0x02
+#define MGMT_DEV_FOUND_NOT_CONNECTABLE 0x04
+#define MGMT_DEV_FOUND_NAME_REQUEST_FAILED 0x10
#define MGMT_EV_DEVICE_FOUND 0x0012
struct mgmt_ev_device_found {