| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROMEOS_DBUS_BLUETOOTH_DEVICE_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_BLUETOOTH_DEVICE_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_BLUETOOTH_DEVICE_CLIENT_H_ | 6 #define CHROMEOS_DBUS_BLUETOOTH_DEVICE_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 // The GAP external appearance of the device. Read-only. | 41 // The GAP external appearance of the device. Read-only. |
| 42 dbus::Property<uint16> appearance; | 42 dbus::Property<uint16> appearance; |
| 43 | 43 |
| 44 // Unique numeric identifier for the vendor of the device. Read-only. | 44 // Unique numeric identifier for the vendor of the device. Read-only. |
| 45 dbus::Property<uint16> vendor; | 45 dbus::Property<uint16> vendor; |
| 46 | 46 |
| 47 // List of 128-bit UUIDs that represent the available remote services. | 47 // List of 128-bit UUIDs that represent the available remote services. |
| 48 // Read-only. | 48 // Read-only. |
| 49 dbus::Property<std::vector<std::string> > uuids; | 49 dbus::Property<std::vector<std::string> > uuids; |
| 50 | 50 |
| 51 // Transmitted power level. This field is avaliable only for LE devices |
| 52 // that include this field in AD. Read-only. |
| 53 dbus::Property<int16> tx_power; |
| 54 |
| 51 // Indicates that the device is currently paired. Read-only. | 55 // Indicates that the device is currently paired. Read-only. |
| 52 dbus::Property<bool> paired; | 56 dbus::Property<bool> paired; |
| 53 | 57 |
| 54 // Indicates that the device is currently connected. Read-only. | 58 // Indicates that the device is currently connected. Read-only. |
| 55 dbus::Property<bool> connected; | 59 dbus::Property<bool> connected; |
| 56 | 60 |
| 57 // Whether the device is trusted, and connections should be always | 61 // Whether the device is trusted, and connections should be always |
| 58 // accepted and attempted when the device is visible. | 62 // accepted and attempted when the device is visible. |
| 59 dbus::Property<bool> trusted; | 63 dbus::Property<bool> trusted; |
| 60 | 64 |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 protected: | 197 protected: |
| 194 BluetoothDeviceClient(); | 198 BluetoothDeviceClient(); |
| 195 | 199 |
| 196 private: | 200 private: |
| 197 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceClient); | 201 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceClient); |
| 198 }; | 202 }; |
| 199 | 203 |
| 200 } // namespace chromeos | 204 } // namespace chromeos |
| 201 | 205 |
| 202 #endif // CHROMEOS_DBUS_BLUETOOTH_DEVICE_CLIENT_H_ | 206 #endif // CHROMEOS_DBUS_BLUETOOTH_DEVICE_CLIENT_H_ |
| OLD | NEW |