diff options
Diffstat (limited to 'chromeos')
-rw-r--r-- | chromeos/dbus/bluetooth_device_client.cc | 1 | ||||
-rw-r--r-- | chromeos/dbus/bluetooth_device_client.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/chromeos/dbus/bluetooth_device_client.cc b/chromeos/dbus/bluetooth_device_client.cc index 96fba62..30e5a36 100644 --- a/chromeos/dbus/bluetooth_device_client.cc +++ b/chromeos/dbus/bluetooth_device_client.cc @@ -47,6 +47,7 @@ BluetoothDeviceClient::Properties::Properties( RegisterProperty(bluetooth_device::kLegacyPairingProperty, &legacy_pairing); RegisterProperty(bluetooth_device::kModaliasProperty, &modalias); RegisterProperty(bluetooth_device::kRSSIProperty, &rssi); + RegisterProperty(bluetooth_device::kTxPowerProperty, &tx_power); } BluetoothDeviceClient::Properties::~Properties() { diff --git a/chromeos/dbus/bluetooth_device_client.h b/chromeos/dbus/bluetooth_device_client.h index 353fd5b..4a0d6b4 100644 --- a/chromeos/dbus/bluetooth_device_client.h +++ b/chromeos/dbus/bluetooth_device_client.h @@ -48,6 +48,10 @@ class CHROMEOS_EXPORT BluetoothDeviceClient : public DBusClient { // Read-only. dbus::Property<std::vector<std::string> > uuids; + // Transmitted power level. This field is avaliable only for LE devices + // that include this field in AD. Read-only. + dbus::Property<int16> tx_power; + // Indicates that the device is currently paired. Read-only. dbus::Property<bool> paired; |