-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bluetooth: CCP: Introduce new CCP API #77120
base: main
Are you sure you want to change the base?
Conversation
6aa67a6
to
63398a4
Compare
4599b32
to
fc5da98
Compare
include/zephyr/bluetooth/audio/ccp.h
Outdated
int bt_ccp_server_register_bearer(const struct bt_tbs_register_param *param, | ||
struct bt_ccp_server_bearer **bearer); |
There was a problem hiding this comment.
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:
- bt_ccp_ccs (Bluetooth Call Control Profile Call Control Server, where Call Control Server is the actual name of the role in CCP)
- bt_ccp_call_control_server (more verbose version of the above; naming similar to e.g. bt_bap_unicast_server)
- bt_ccp_call_ctrl_srv (shorter version of 3, more similar to the VCP and MICP APIs (e.g. bt_vcp_vol_rend)
- 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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
87437d8
to
1e8dcd7
Compare
87a92cf
to
3c73258
Compare
0ede37d
to
c3c5f3f
Compare
90f3646
to
c53b52c
Compare
c53b52c
to
62367c9
Compare
gtbs}>] | ||
|
||
|
||
In the following examples, notifications from GTBS is ignored, unless otherwise |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
62367c9
to
844a3e1
Compare
844a3e1
to
4c8106b
Compare
******** | ||
|
||
Application demonstrating the CCP Server functionality. | ||
Starts by advertising for a CCP Clients to connect and set up calls. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
************ | ||
|
||
* BlueZ running on the host, or | ||
* A board with Bluetooth Low Energy 5.2 support |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5.3?
There was a problem hiding this comment.
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 :)
} | ||
} | ||
|
||
if (adv != NULL) { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's static
:)
067ce29
to
2563cf7
Compare
Renamed to Call Control Profile Call Control Server as per #77120 (comment) and short discussion in the weekly LE Audio meeting |
fc12d63
to
d5b6e68
Compare
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]>
d5b6e68
to
6bc5e73
Compare
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]