#include "device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.h"
#include <string>
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "dbus/object_path.h"
#include "device/bluetooth/bluetooth_gatt_characteristic.h"
#include "device/bluetooth/bluez/bluetooth_adapter_bluez.h"
#include "device/bluetooth/bluez/bluetooth_gatt_service_bluez.h"
#include "device/bluetooth/bluez/bluetooth_local_gatt_service_bluez.h"
namespace bluez {
base::WeakPtr<BluetoothLocalGattCharacteristicBlueZ>
BluetoothLocalGattCharacteristicBlueZ::Create(
const device::BluetoothUUID& uuid,
Properties properties,
Permissions permissions,
BluetoothLocalGattServiceBlueZ* service) { … }
BluetoothLocalGattCharacteristicBlueZ::BluetoothLocalGattCharacteristicBlueZ(
const device::BluetoothUUID& uuid,
Properties properties,
Permissions permissions,
BluetoothLocalGattServiceBlueZ* service)
: … { … }
BluetoothLocalGattCharacteristicBlueZ::
~BluetoothLocalGattCharacteristicBlueZ() = default;
device::BluetoothUUID BluetoothLocalGattCharacteristicBlueZ::GetUUID() const { … }
device::BluetoothGattCharacteristic::Properties
BluetoothLocalGattCharacteristicBlueZ::GetProperties() const { … }
device::BluetoothGattCharacteristic::Permissions
BluetoothLocalGattCharacteristicBlueZ::GetPermissions() const { … }
device::BluetoothLocalGattCharacteristic::NotificationStatus
BluetoothLocalGattCharacteristicBlueZ::NotifyValueChanged(
const device::BluetoothDevice* device,
const std::vector<uint8_t>& new_value,
bool indicate) { … }
device::BluetoothLocalGattService*
BluetoothLocalGattCharacteristicBlueZ::GetService() const { … }
void BluetoothLocalGattCharacteristicBlueZ::AddDescriptor(
std::unique_ptr<BluetoothLocalGattDescriptorBlueZ> descriptor) { … }
std::vector<device::BluetoothLocalGattDescriptor*>
BluetoothLocalGattCharacteristicBlueZ::GetDescriptors() const { … }
}