blob: 98524aea052aa80268657e080fd3416a331ebd57 [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_self_(this) {}
} // namespace bt::testing