blob: c2a1fa0359e398b2ec76c692c3f0c564406d4834 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gatt_defs.h"
namespace bt {
namespace gatt {
ServiceData::ServiceData(att::Handle start, att::Handle end, const UUID& type)
: range_start(start), range_end(end), type(type) {}
CharacteristicData::CharacteristicData(Properties props, att::Handle handle,
att::Handle value_handle,
const UUID& type)
: properties(props),
handle(handle),
value_handle(value_handle),
type(type) {}
DescriptorData::DescriptorData(att::Handle handle, const UUID& type)
: handle(handle), type(type) {}
} // namespace gatt
} // namespace bt