Skip to contentSkip to conversation

profiles/audio/ccp: Add CCP plugin for call control profile

PATCH In review Shahid Vichhi 2 participants 2 messages Feb 21, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 profiles/audio/ccp: Add CCP plugin for call control profile

This adds initial code for CCP plugin which handle CALL CONTROL PROFILE for Telephone Bearer Services and Generic Telephone Bearer Services in the client role.
This has been tested using teams application by initiating call between Linux BTOE and Windows server with LE audio enabled.

---
 Makefile.plugins     |   5 +
 configure.ac         |   4 +
 profiles/audio/ccp.c | 235 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 244 insertions(+)
 create mode 100644 profiles/audio/ccp.c
Makefile.plugins +5 -0
index e960eedeabd3..4aa2c9c92854 100644
@@ -138,6 +138,11 @@ builtin_modules += micp
 builtin_sources += profiles/audio/micp.c
 endif
 
+if CCP
+builtin_modules += ccp
+builtin_sources += profiles/audio/ccp.c
+endif
+
 if CSIP
 builtin_modules += csip
 builtin_sources += profiles/audio/csip.c
configure.ac +4 -0
index 70e9d4be8127..c7dadf79a565 100644
@@ -200,6 +200,10 @@ AC_ARG_ENABLE(mcp, AS_HELP_STRING([--disable-mcp],
         [disable MCP profile]), [enable_mcp=${enableval}])
 AM_CONDITIONAL(MCP, test "${enable_mcp}" != "no")
 
+AC_ARG_ENABLE(ccp, AS_HELP_STRING([--disable-ccp],
+        [disable CCP profile]), [enable_ccp=${enableval}])
+AM_CONDITIONAL(CCP, test "${enable_ccp}" != "no")
+
 AC_ARG_ENABLE(vcp, AS_HELP_STRING([--disable-vcp],
 		[disable VCP profile]), [enable_vcp=${enableval}])
 AM_CONDITIONAL(VCP, test "${enable_vcp}" != "no")
profiles/audio/ccp.c new file +235 -0

235 lines not on this page · raw message

Signature · 1 line
2.34.1
#1 lore raw

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=828218

---Test result---

Test Summary:

CheckPatch                    PASS      0.58 seconds
GitLint                       PASS      0.33 seconds
BuildEll                      PASS      24.30 seconds
BluezMake                     PASS      706.76 seconds
MakeCheck                     PASS      12.13 seconds
MakeDistcheck                 PASS      162.79 seconds
CheckValgrind                 PASS      225.85 seconds
CheckSmatch                   PASS      328.39 seconds
bluezmakeextell               PASS      106.76 seconds
IncrementalBuild              PASS      664.97 seconds
ScanBuild                     PASS      943.29 seconds

---
Regards,
Linux Bluetooth