-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update pw_bluetooth APIs to use: - pw_async2 - pw_multibuf - pw_channel - pw::expected New targets, headers, and types are created (with the suffix "2") to avoid breaking existing clients of these APIs. Bug: b/350994818 Change-Id: I1cac6a1c71bd8a37bba33be4d50fa12f2194a916 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/219393 Commit-Queue: Ben Lawson <benlawson@google.com> Reviewed-by: Marie Janssen <jamuraa@google.com> Reviewed-by: Kayce Basques <kayce@google.com> Pigweed-Auto-Submit: Ben Lawson <benlawson@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
- Loading branch information
1 parent
5516467
commit a615b8b
Showing
21 changed files
with
1,971 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Copyright 2024 The Pigweed Authors | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
// use this file except in compliance with the License. You may obtain a copy of | ||
// the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
// License for the specific language governing permissions and limitations under | ||
// the License. | ||
|
||
#include "pw_bluetooth/controller2.h" | ||
#include "pw_bluetooth/gatt/client2.h" | ||
#include "pw_bluetooth/gatt/server2.h" | ||
#include "pw_bluetooth/low_energy/central2.h" | ||
#include "pw_bluetooth/low_energy/peripheral2.h" | ||
#include "pw_bluetooth/pairing_delegate2.h" | ||
#include "pw_unit_test/framework.h" | ||
|
||
namespace pw::bluetooth { | ||
namespace { | ||
|
||
// This empty test ensures that the included API compiles. | ||
TEST(ApiTest, ApiCompiles) {} | ||
|
||
} // namespace | ||
} // namespace pw::bluetooth |
Oops, something went wrong.