-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apps: Add BLE Audio Broadcast Sink sample
The sample scans for broadcasting devices and synchronizes to the one that Broadcast Name in EXT_ADV matches APP_BROADCAST_NAME if any��. If the APP_BROADCAST_NAME is unset, the application will attempt to synchronize to the first broadcaster found. Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
- Loading branch information
1 parent
b4c0248
commit 5746199
Showing
7 changed files
with
721 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#### Bluetooth: LE Audio Broadcast Sink demo | ||
|
||
##### Overview | ||
******** | ||
|
||
This is a application demonstrating a Bluetooth LE Audio Broadcast Sink | ||
implementation. | ||
|
||
The sample starts scanning looking for a available broadcasts to sync to. | ||
If the APP_BROADCAST_NAME is set in syscfg.yml the application will try to | ||
match the Broadcast Name in the received EXT_ADV with APP_BROADCAST_NAME. | ||
If the APP_BROADCAST_NAME is unset, the application will attempt to | ||
synchronize to the first broadcaster found. | ||
|
||
If the broadcast is encrypted, the APP_BROADCAST_CODE will be provided to | ||
the controller to decrypt the data. |
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,39 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you 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 | ||
# | ||
# http://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. | ||
# | ||
|
||
pkg.name: apps/bleaudio_broadcast_sink | ||
pkg.type: app | ||
pkg.description: LE Audio Broadcast Sink sample application. | ||
|
||
pkg.author: "Mariusz Skamra" | ||
pkg.email: "mariusz.skamra@codecoup.pl" | ||
pkg.homepage: "https://www.codecoup.pl/" | ||
pkg.keywords: | ||
|
||
pkg.deps: | ||
- nimble/host | ||
- nimble/host/util | ||
- nimble/host/audio | ||
- nimble/host/services/gap | ||
- nimble/host/store/config | ||
- "@apache-mynewt-core/kernel/os" | ||
- "@apache-mynewt-core/sys/console" | ||
- "@apache-mynewt-core/sys/log" | ||
- "@apache-mynewt-core/sys/stats" | ||
- "@apache-mynewt-core/sys/sysinit" | ||
- "@apache-mynewt-core/sys/id" |
Oops, something went wrong.