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

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

Issue 2421713002: arc: bluetooth: Expose missing advertise data. (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
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..970c6e48a7a1cb5905dfc03e92fc0b187f75fa49 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;
+ // Bluetooth Flag in Advertise data. Read-only.
ortuno 2016/10/18 01:41:19 s/Flag/Flags/
puthik_chromium 2016/11/02 23:20:38 Make it match upstream doc instead.
+ dbus::Property<uint8_t> advertising_data_flags;
+
Properties(dbus::ObjectProxy* object_proxy,
const std::string& interface_name,
const PropertyChangedCallback& callback);

Powered by Google App Engine
This is Rietveld 408576698