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>
20 lines
444 B
CMake
20 lines
444 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(tmap_peripheral)
|
|
|
|
target_sources(app PRIVATE
|
|
src/main.c
|
|
src/vcp_vol_renderer.c
|
|
src/bap_unicast_sr.c
|
|
src/ccp_call_ctrl.c
|
|
src/mcp_ctlr.c
|
|
)
|
|
|
|
target_sources_ifdef(CONFIG_TMAP_PERIPHERAL_DUO app PRIVATE
|
|
src/csip_set_member.c
|
|
)
|
|
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/samples/bluetooth)
|