blob: 6dde5cc9da699c8eccc9e6d9341b9d1a5411b5af [file] [log] [blame]
// Copyright 2020 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 "fake_dynamic_channel.h"
namespace bt::testing {
FakeDynamicChannel::FakeDynamicChannel(hci_spec::ConnectionHandle conn, l2cap::PSM psm,
l2cap::ChannelId local_cid, l2cap::ChannelId remote_cid)
: handle_(conn),
opened_(false),
configuration_request_received_(false),
configuration_response_received_(false),
psm_(psm),
local_cid_(local_cid),
remote_cid_(remote_cid),
weak_ptr_factory_(this) {}
} // namespace bt::testing