Skip to content

Conversation

@Thalley
Copy link
Contributor

@Thalley Thalley commented Aug 15, 2024

The CCP API for the Call Control Profile works on top of the
TBS API, and will eventually replace parts of the TBS API.

Signed-off-by: Emil Gydesen [email protected]

@Thalley Thalley force-pushed the ccp_register branch 3 times, most recently from 6aa67a6 to 63398a4 Compare August 21, 2024 09:31
@Thalley Thalley changed the title Ccp register Bluetooth: CCP: Introduce new CCP API Aug 21, 2024
@Thalley Thalley force-pushed the ccp_register branch 6 times, most recently from 4599b32 to fc5da98 Compare August 26, 2024 19:05
Comment on lines 66 to 71
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For reviewers: I consider the following naming options:

  1. bt_ccp_ccs (Bluetooth Call Control Profile Call Control Server, where Call Control Server is the actual name of the role in CCP)
  2. bt_ccp_call_control_server (more verbose version of the above; naming similar to e.g. bt_bap_unicast_server)
  3. bt_ccp_call_ctrl_srv (shorter version of 3, more similar to the VCP and MICP APIs (e.g. bt_vcp_vol_rend)
  4. bt_ccp_server (and in upcoming PRs, bt_ccp_client).

If you have any preferences or other suggestions, please let me know and we can just do a rename

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer 3. bt_ccp_call_control_server. It is easier to spelling and understand.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your input - Other reviews please also comment here about what you prefer

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No strong preferences, but I do in general prefer longer, more readable names.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@koffes is that a vote for 3) then?

Copy link
Contributor

@koffes koffes Nov 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, 4 is good as well.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefer 3.

@Thalley Thalley force-pushed the ccp_register branch 4 times, most recently from 87437d8 to 1e8dcd7 Compare September 9, 2024 09:45
@Thalley Thalley force-pushed the ccp_register branch 6 times, most recently from 87a92cf to 3c73258 Compare September 17, 2024 08:56
@Thalley Thalley force-pushed the ccp_register branch 9 times, most recently from 0ede37d to c3c5f3f Compare September 24, 2024 16:16
@hermabe hermabe removed their request for review November 12, 2024 11:08
@zephyrbot zephyrbot requested a review from babrsn November 18, 2024 08:14
@jhedberg jhedberg removed the area: Bluetooth Host Bluetooth Host (excluding BR/EDR) label Nov 18, 2024
Copy link

@kruithofa kruithofa Nov 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In the following examples, notifications from GTBS is ignored, unless otherwise
In the following examples, notifications from GTBS are ignored, unless otherwise

This was also wrong in the original document, but suggest to fix it here

@zephyrbot zephyrbot added the area: Bluetooth Host Bluetooth Host (excluding BR/EDR) label Nov 22, 2024
@Thalley Thalley requested a review from kruithofa November 25, 2024 10:20
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Starts by advertising for a CCP Clients to connect and set up calls.
Starts by advertising for CCP Clients to connect and set up calls.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5.3?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5.3 is not required :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe make sure adv is 0 on init

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's static :)

@Thalley Thalley force-pushed the ccp_register branch 2 times, most recently from 067ce29 to 2563cf7 Compare November 26, 2024 12:57
@Thalley
Copy link
Contributor Author

Thalley commented Nov 26, 2024

Renamed to Call Control Profile Call Control Server as per #77120 (comment) and short discussion in the weekly LE Audio meeting

@Thalley Thalley force-pushed the ccp_register branch 4 times, most recently from 6bc5e73 to ad74b1d Compare December 2, 2024 12:10
Copy link
Contributor

@larsgk larsgk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I didn't have time to try it out :)

The CCP API for the Call Control Profile works on top of the
TBS API, and will eventually replace parts of the TBS API.

Signed-off-by: Emil Gydesen <[email protected]>
@kartben kartben merged commit e458308 into zephyrproject-rtos:main Jan 8, 2025
27 checks passed
@Thalley Thalley deleted the ccp_register branch January 8, 2025 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Bluetooth Audio area: Bluetooth Host Bluetooth Host (excluding BR/EDR) area: Bluetooth Qualification Bluetooth Qualification -related issues and pull requests area: Bluetooth area: Process area: Samples Samples platform: nRF BSIM Nordic Semiconductors, nRF BabbleSim

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.