blob: 213bfe08d6bbf08e6e914f37062a4f99f94575c0 [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::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