Skip to content

bluetooth: rename _bt_gatt_ccc and clarify usage #88652

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

Merged
merged 1 commit into from
Apr 17, 2025

Conversation

alxelax
Copy link
Collaborator

@alxelax alxelax commented Apr 15, 2025

Bluetooth had two public types with similar name _bt_gatt_ccc and bt_gatt_ccc, but for absolutely different purposes. That caused misunderstanding of relationship of them and cases where to use which one.

Commit changes name of _bt_gatt_ccc to more suitable by usage and improves documentation of it.

Additionally, it changes name of BT_GATT_CCC_INITIALIZER to correspond the type name.

@alxelax alxelax force-pushed the clarify_use_gatt_ccc branch from 21ad633 to 0575c2c Compare April 15, 2025 13:02
@github-actions github-actions bot added the Release Notes To be mentioned in the release notes label Apr 15, 2025
@alxelax alxelax requested a review from jhedberg April 15, 2025 13:04
@alxelax
Copy link
Collaborator Author

alxelax commented Apr 15, 2025

Do I need to add it into #86000 ?

alwa-nordic
alwa-nordic previously approved these changes Apr 15, 2025
@jhedberg
Copy link
Member

Do I need to add it into #86000 ?

Yes

jhedberg
jhedberg previously approved these changes Apr 16, 2025
Bluetooth had two public types with similar name _bt_gatt_ccc and
bt_gatt_ccc, but for absolutely different purposes.
That caused misunderstanding of relationship of them and cases
where to use which one.

Commit changes name of _bt_gatt_ccc to more suitable by usage and
improves documentation of it.

Additionally, it changes name of BT_GATT_CCC_INITIALIZER
to correspond the type name.

Signed-off-by: Aleksandr Khromykh <[email protected]>
@alxelax alxelax dismissed stale reviews from jhedberg and alwa-nordic via fa67619 April 16, 2025 08:46
@alxelax alxelax force-pushed the clarify_use_gatt_ccc branch from 0575c2c to fa67619 Compare April 16, 2025 08:46
@alxelax alxelax requested review from alwa-nordic and jhedberg April 16, 2025 08:50
@kartben kartben merged commit b53b5e1 into zephyrproject-rtos:main Apr 17, 2025
33 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in Bluetooth LE Audio Apr 17, 2025
@alxelax alxelax deleted the clarify_use_gatt_ccc branch April 17, 2025 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants