| // 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 "src/connectivity/bluetooth/core/bt-host/public/pw_bluetooth_sapphire/internal/host/testing/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 |