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>
16 lines
348 B
CMake
16 lines
348 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_central)
|
|
|
|
target_sources(app PRIVATE
|
|
src/main.c
|
|
src/mcp_server.c
|
|
src/vcp_vol_ctlr.c
|
|
src/ccp_server.c
|
|
src/cap_initiator.c
|
|
)
|
|
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/samples/bluetooth)
|