Skip to content

Commit

Permalink
pw_bluetooth_proxy: Rename to l2cap_channel_common.h
Browse files Browse the repository at this point in the history
Rename l2cap_channel_event.h to l2cap_channel_common.h. Later CLs will
put items beyond event in it.

Bug: 369849508
Change-Id: I0eeb30f834b187669ef53a60a37a4ad5c80f1784
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/254519
Presubmit-Verified: CQ Bot Account <[email protected]>
Reviewed-by: Ali Saeed <[email protected]>
Commit-Queue: David Rees <[email protected]>
Lint: Lint 🤖 <[email protected]>
Docs-Not-Needed: David Rees <[email protected]>
  • Loading branch information
studgeek authored and CQ Bot Account committed Dec 16, 2024
1 parent 8c376c4 commit b8d3b57
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion pw_bluetooth_proxy/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ cc_library(
"public/pw_bluetooth_proxy/internal/l2cap_status_tracker.h",
"public/pw_bluetooth_proxy/internal/logical_transport.h",
"public/pw_bluetooth_proxy/internal/rfcomm_fcs.h",
"public/pw_bluetooth_proxy/l2cap_channel_event.h",
"public/pw_bluetooth_proxy/l2cap_channel_common.h",
"public/pw_bluetooth_proxy/l2cap_coc.h",
"public/pw_bluetooth_proxy/l2cap_status_delegate.h",
"public/pw_bluetooth_proxy/proxy_host.h",
Expand Down
2 changes: 1 addition & 1 deletion pw_bluetooth_proxy/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pw_source_set("pw_bluetooth_proxy") {
"public/pw_bluetooth_proxy/internal/l2cap_status_tracker.h",
"public/pw_bluetooth_proxy/internal/logical_transport.h",
"public/pw_bluetooth_proxy/internal/rfcomm_fcs.h",
"public/pw_bluetooth_proxy/l2cap_channel_event.h",
"public/pw_bluetooth_proxy/l2cap_channel_common.h",
"public/pw_bluetooth_proxy/l2cap_coc.h",
"public/pw_bluetooth_proxy/l2cap_status_delegate.h",
"public/pw_bluetooth_proxy/proxy_host.h",
Expand Down
2 changes: 1 addition & 1 deletion pw_bluetooth_proxy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pw_add_library(pw_bluetooth_proxy STATIC
public/pw_bluetooth_proxy/internal/l2cap_leu_signaling_channel.h
public/pw_bluetooth_proxy/internal/logical_transport.h
public/pw_bluetooth_proxy/internal/rfcomm_fcs.h
public/pw_bluetooth_proxy/l2cap_channel_event.h
public/pw_bluetooth_proxy/l2cap_channel_common.h
public/pw_bluetooth_proxy/l2cap_coc.h
public/pw_bluetooth_proxy/l2cap_status_delegate.h
public/pw_bluetooth_proxy/proxy_host.h
Expand Down
2 changes: 1 addition & 1 deletion pw_bluetooth_proxy/basic_l2cap_channel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "pw_bluetooth/emboss_util.h"
#include "pw_bluetooth/hci_data.emb.h"
#include "pw_bluetooth/l2cap_frames.emb.h"
#include "pw_bluetooth_proxy/l2cap_channel_event.h"
#include "pw_bluetooth_proxy/l2cap_channel_common.h"
#include "pw_log/log.h"
#include "pw_status/try.h"

Expand Down
2 changes: 1 addition & 1 deletion pw_bluetooth_proxy/l2cap_channel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "pw_bluetooth/hci_h4.emb.h"
#include "pw_bluetooth/l2cap_frames.emb.h"
#include "pw_bluetooth_proxy/internal/l2cap_channel_manager.h"
#include "pw_bluetooth_proxy/l2cap_channel_event.h"
#include "pw_bluetooth_proxy/l2cap_channel_common.h"
#include "pw_log/log.h"
#include "pw_status/status.h"
#include "pw_status/try.h"
Expand Down
2 changes: 1 addition & 1 deletion pw_bluetooth_proxy/l2cap_coc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "pw_bluetooth/hci_data.emb.h"
#include "pw_bluetooth/l2cap_frames.emb.h"
#include "pw_bluetooth_proxy/internal/l2cap_signaling_channel.h"
#include "pw_bluetooth_proxy/l2cap_channel_event.h"
#include "pw_bluetooth_proxy/l2cap_channel_common.h"
#include "pw_log/log.h"
#include "pw_status/try.h"

Expand Down
2 changes: 1 addition & 1 deletion pw_bluetooth_proxy/proxy_host.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "pw_bluetooth_proxy/internal/gatt_notify_channel_internal.h"
#include "pw_bluetooth_proxy/internal/l2cap_coc_internal.h"
#include "pw_bluetooth_proxy/internal/logical_transport.h"
#include "pw_bluetooth_proxy/l2cap_channel_event.h"
#include "pw_bluetooth_proxy/l2cap_channel_common.h"
#include "pw_log/log.h"

namespace pw::bluetooth::proxy {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#pragma once

#include "pw_bluetooth_proxy/internal/l2cap_channel.h"
#include "pw_bluetooth_proxy/l2cap_channel_event.h"
#include "pw_bluetooth_proxy/l2cap_channel_common.h"

namespace pw::bluetooth::proxy {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include "pw_bluetooth_proxy/h4_packet.h"
#include "pw_bluetooth_proxy/internal/logical_transport.h"
#include "pw_bluetooth_proxy/l2cap_channel_event.h"
#include "pw_bluetooth_proxy/l2cap_channel_common.h"
#include "pw_containers/inline_queue.h"
#include "pw_containers/intrusive_forward_list.h"
#include "pw_result/result.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#pragma once

#include "pw_bluetooth_proxy/l2cap_channel_event.h"
#include "pw_bluetooth_proxy/l2cap_channel_common.h"
#include "pw_bluetooth_proxy/l2cap_coc.h"

namespace pw::bluetooth::proxy {
Expand Down
2 changes: 1 addition & 1 deletion pw_bluetooth_proxy/public/pw_bluetooth_proxy/l2cap_coc.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include "pw_bluetooth_proxy/internal/l2cap_channel.h"
#include "pw_bluetooth_proxy/internal/l2cap_signaling_channel.h"
#include "pw_bluetooth_proxy/l2cap_channel_event.h"
#include "pw_bluetooth_proxy/l2cap_channel_common.h"
#include "pw_sync/mutex.h"

namespace pw::bluetooth::proxy {
Expand Down
6 changes: 3 additions & 3 deletions pw_bluetooth_proxy/public/pw_bluetooth_proxy/proxy_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "pw_bluetooth_proxy/internal/h4_storage.h"
#include "pw_bluetooth_proxy/internal/hci_transport.h"
#include "pw_bluetooth_proxy/internal/l2cap_channel_manager.h"
#include "pw_bluetooth_proxy/l2cap_channel_event.h"
#include "pw_bluetooth_proxy/l2cap_channel_common.h"
#include "pw_bluetooth_proxy/l2cap_coc.h"
#include "pw_bluetooth_proxy/l2cap_status_delegate.h"
#include "pw_bluetooth_proxy/rfcomm_channel.h"
Expand Down Expand Up @@ -184,7 +184,7 @@ class ProxyHost {
///
/// @param[in] event_fn Handle asynchronous events such as
/// errors encountered by the channel.
/// See `l2cap_channel_event.h`.
/// See `l2cap_channel_common.h`.
///
/// @returns @rst
///
Expand Down Expand Up @@ -248,7 +248,7 @@ class ProxyHost {
///
/// @param[in] event_fn Handle asynchronous events such as errors
/// encountered by the channel. See
/// `l2cap_channel_event.h`.
/// `l2cap_channel_common.h`.
///
/// @returns @rst
///
Expand Down
2 changes: 1 addition & 1 deletion pw_bluetooth_proxy/pw_bluetooth_proxy_private/test_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "pw_bluetooth/l2cap_frames.emb.h"
#include "pw_bluetooth_proxy/h4_packet.h"
#include "pw_bluetooth_proxy/internal/logical_transport.h"
#include "pw_bluetooth_proxy/l2cap_channel_event.h"
#include "pw_bluetooth_proxy/l2cap_channel_common.h"
#include "pw_bluetooth_proxy/l2cap_coc.h"
#include "pw_bluetooth_proxy/l2cap_status_delegate.h"
#include "pw_bluetooth_proxy/proxy_host.h"
Expand Down
2 changes: 1 addition & 1 deletion pw_bluetooth_proxy/rfcomm_channel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "pw_bluetooth/rfcomm_frames.emb.h"
#include "pw_bluetooth_proxy/internal/logical_transport.h"
#include "pw_bluetooth_proxy/internal/rfcomm_fcs.h"
#include "pw_bluetooth_proxy/l2cap_channel_event.h"
#include "pw_bluetooth_proxy/l2cap_channel_common.h"
#include "pw_log/log.h"
#include "pw_status/try.h"

Expand Down
2 changes: 1 addition & 1 deletion pw_bluetooth_proxy/test_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "pw_bluetooth_proxy/basic_l2cap_channel.h"
#include "pw_bluetooth_proxy/h4_packet.h"
#include "pw_bluetooth_proxy/internal/logical_transport.h"
#include "pw_bluetooth_proxy/l2cap_channel_event.h"
#include "pw_bluetooth_proxy/l2cap_channel_common.h"
#include "pw_bluetooth_proxy/l2cap_status_delegate.h"
#include "pw_bluetooth_proxy/proxy_host.h"
#include "pw_function/function.h"
Expand Down

0 comments on commit b8d3b57

Please sign in to comment.