Skip to content
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: Host: ISO: Add support for CIS established event V2 #79554

Open
Thalley opened this issue Oct 8, 2024 · 0 comments
Open

Bluetooth: Host: ISO: Add support for CIS established event V2 #79554

Thalley opened this issue Oct 8, 2024 · 0 comments
Assignees
Labels
area: Bluetooth ISO Bluetooth LE Isochronous Channels area: Bluetooth Enhancement Changes/Updates/Additions to existing features

Comments

@Thalley
Copy link
Collaborator

Thalley commented Oct 8, 2024

Is your enhancement proposal related to a problem? Please describe.
Bluetooth Core 6.0 added a new version of the HCI_LE_CIS_Established event which adds additional information to the CIS peripheral when a CIS is connected, such as the Sub_Interval, Max_SDU_C_To_P, Max_SDU_P_To_C, SDU_Interval_C_To_P, SDU_Interval_P_To_C, and Framing.

Describe the solution you'd like
Add an vent handler for the version 2 of the event similar to

	EVENT_HANDLER(BT_HCI_EVT_LE_CIS_ESTABLISHED, hci_le_cis_established,
		      sizeof(struct bt_hci_evt_le_cis_established)),

The version 2 can likely be handled similar to the version 2 of BT_HCI_EVT_LE_PER_ADVERTISING_REPORT_V2.

The additional new informaton should be stored in store_cis_info.

The TX in the ISO shell for the peripheral also needs to be updated to use the new value (if available): https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/bluetooth/host/shell/iso.c#L487-L495

Describe alternatives you've considered
N/A

Additional context
Since this is not supported by all ISO controllers, we need to ensure that they support the event. See also #79555

@Thalley Thalley added Enhancement Changes/Updates/Additions to existing features area: Bluetooth area: Bluetooth ISO Bluetooth LE Isochronous Channels labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth ISO Bluetooth LE Isochronous Channels area: Bluetooth Enhancement Changes/Updates/Additions to existing features
Projects
None yet
Development

No branches or pull requests

1 participant