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

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

Issue 2421713002: arc: bluetooth: Expose missing advertise data. (Closed)
Patch Set: Add BlueZ unittests / more comment Created 4 years, 1 month 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 4069ae9ed3727e013a9739d8be135cfd9219a04a..d42aa76f374b6b8d63bf66c7a0eee7e5e3e7edad 100644
--- a/device/bluetooth/dbus/bluetooth_device_client.h
+++ b/device/bluetooth/dbus/bluetooth_device_client.h
@@ -109,6 +109,11 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceClient : public BluezDBusClient {
// discovered during inquiry. Read-only.
dbus::Property<int16_t> rssi;
+ // Manufacturer specific advertisement data. Keys are 16 bits Manufacturer
+ // ID followed by its byte array value. Read-only.
+ dbus::Property<std::unordered_map<uint16_t, std::vector<uint8_t>>>
+ manufacturer_data;
+
// 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>>>
@@ -117,6 +122,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceClient : public BluezDBusClient {
// Indicate whether or not service discovery has been resolved. Read-only.
dbus::Property<bool> services_resolved;
+ // The Advertising Data Flags of the remote device. Read-only.
+ dbus::Property<std::vector<uint8_t>> advertising_data_flags;
+
Properties(dbus::ObjectProxy* object_proxy,
const std::string& interface_name,
const PropertyChangedCallback& callback);
« 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