5096aa1c00
Add implementation of the Telephony and Media Audio Service, as well as two sample applications. tmap_central reflects a smartphone implementing the Unicast Media Sender and Call Gateway TMAP roles. tmap_peripheral reflects an earbud implementing the Unicast Media Receiver and Call Terminal TMAP roles. Upon connection, tmap_central starts an audio stream using CAP Initiator APIs. CCP, MCP and VCP are discovered and used to send example commands. Future improvements: 2-earbud support, add TMAP Broadcast roles, update with new CAP Acceptor/Commander APIs as they become available Signed-off-by: Silviu Petria <silviu.petria@nxp.com>
51 lines
855 B
Plaintext
51 lines
855 B
Plaintext
#
|
|
# Copyright (c) 2022 Codecoup
|
|
# Copyright 2023 NXP
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
mainmenu "Bluetooth: Earbuds"
|
|
|
|
menu "Zephyr"
|
|
source "Kconfig.zephyr"
|
|
endmenu
|
|
|
|
menu "Earbuds"
|
|
|
|
config TMAP_PERIPHERAL_SET_RANK
|
|
int "Device rank in set"
|
|
depends on TMAP_PERIPHERAL_DUO
|
|
range 1 2
|
|
help
|
|
Rank of this device in set.
|
|
|
|
choice TMAP_PERIPHERAL_TYPE_CHOICE
|
|
prompt "Earbuds type"
|
|
help
|
|
Select the Earbuds Type to compile.
|
|
|
|
config TMAP_PERIPHERAL_SINGLE
|
|
bool "Single ear headset"
|
|
|
|
config TMAP_PERIPHERAL_DUO
|
|
depends on BT_CAP_ACCEPTOR_SET_MEMBER
|
|
bool "Duo headset"
|
|
|
|
endchoice # TMAP_PERIPHERAL_TYPE_CHOICE
|
|
|
|
choice TMAP_PERIPHERAL_LOCATION
|
|
prompt "Earbud Location"
|
|
help
|
|
Select the Earbud location.
|
|
|
|
config TMAP_PERIPHERAL_LEFT
|
|
bool "Left Ear"
|
|
|
|
config TMAP_PERIPHERAL_RIGHT
|
|
bool "Right Ear"
|
|
|
|
endchoice # TMAP_PERIPHERAL_LOCATION
|
|
|
|
endmenu
|