#include "device/bluetooth/test/fake_local_gatt_characteristic.h"
#include "device/bluetooth/bluetooth_local_gatt_service.h"
namespace bluetooth {
FakeLocalGattCharacteristic::FakeLocalGattCharacteristic(
const std::string& characteristic_id,
const device::BluetoothUUID& characteristic_uuid,
device::BluetoothLocalGattService* service,
Properties properties,
Permissions permissions)
: … { … }
FakeLocalGattCharacteristic::~FakeLocalGattCharacteristic() = default;
std::string FakeLocalGattCharacteristic::GetIdentifier() const { … }
device::BluetoothUUID FakeLocalGattCharacteristic::GetUUID() const { … }
FakeLocalGattCharacteristic::Properties
FakeLocalGattCharacteristic::GetProperties() const { … }
FakeLocalGattCharacteristic::Permissions
FakeLocalGattCharacteristic::GetPermissions() const { … }
FakeLocalGattCharacteristic::NotificationStatus
FakeLocalGattCharacteristic::NotifyValueChanged(
const device::BluetoothDevice* device,
const std::vector<uint8_t>& new_value,
bool indicate) { … }
device::BluetoothLocalGattService* FakeLocalGattCharacteristic::GetService()
const { … }
std::vector<device::BluetoothLocalGattDescriptor*>
FakeLocalGattCharacteristic::GetDescriptors() const { … }
}