Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3028)

Unified Diff: device/bluetooth/dbus/bluetooth_device_client.h

Issue 2369423003: bluetooth: Expose service data from BlueZ (Closed)
Patch Set: Fix comment Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/bluetooth/bluez/bluetooth_device_bluez.cc ('k') | device/bluetooth/dbus/bluetooth_device_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/dbus/bluetooth_device_client.h
diff --git a/device/bluetooth/dbus/bluetooth_device_client.h b/device/bluetooth/dbus/bluetooth_device_client.h
index e53ff0b38bd3d736e9331ca22576c202f619d9df..4069ae9ed3727e013a9739d8be135cfd9219a04a 100644
--- a/device/bluetooth/dbus/bluetooth_device_client.h
+++ b/device/bluetooth/dbus/bluetooth_device_client.h
@@ -8,6 +8,7 @@
#include <stdint.h>
#include <string>
+#include <unordered_map>
#include <vector>
#include "base/callback.h"
@@ -108,6 +109,11 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceClient : public BluezDBusClient {
// discovered during inquiry. Read-only.
dbus::Property<int16_t> rssi;
+ // Service advertisement data. Keys are the UUIDs in string format followed
+ // by its byte array value. Read-only.
+ dbus::Property<std::unordered_map<std::string, std::vector<uint8_t>>>
+ service_data;
+
// Indicate whether or not service discovery has been resolved. Read-only.
dbus::Property<bool> services_resolved;
« no previous file with comments | « device/bluetooth/bluez/bluetooth_device_bluez.cc ('k') | device/bluetooth/dbus/bluetooth_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698