Chromium Code Reviews| 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; |
|
ortuno
2016/11/02 23:36:48
q: Why is this a vector?
puthik_chromium
2016/11/02 23:44:13
It's what upstream want for future proof. Only the
ortuno
2016/11/02 23:48:13
I see.
|
| + |
| Properties(dbus::ObjectProxy* object_proxy, |
| const std::string& interface_name, |
| const PropertyChangedCallback& callback); |