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

nimble/audio: Add subgroups information for modify operation #1873

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

szymon-czapracki
Copy link
Contributor

Add subgroups info for modify source operation. Now metadata field can be handled in scan delegator during modify procedure.

@szymon-czapracki
Copy link
Contributor Author

@MariuszSkamra @rymanluk FYI

@github-actions github-actions bot added host size/XS Extra small PR labels Sep 23, 2024
Comment on lines 331 to 332
/** BIS Synchronisation of subgroups */
uint32_t bis_sync[BLE_SVC_AUDIO_BASS_SUB_NUM_MAX];
Copy link
Contributor

Choose a reason for hiding this comment

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

this one should not be needed, as you can pass the bis sync in subgroups[i].bis_sync instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

LGTY now?

@szymon-czapracki szymon-czapracki force-pushed the scan_delegator_metadata branch 2 times, most recently from d9781b9 to d57b022 Compare September 23, 2024 13:11
@github-actions github-actions bot added the size/S Small PR label Sep 23, 2024
@szymon-czapracki szymon-czapracki force-pushed the scan_delegator_metadata branch 2 times, most recently from 078e6a9 to 084ca4f Compare September 23, 2024 14:19
@@ -424,20 +424,20 @@ ble_svc_audio_bass_add_source(uint8_t *data, uint16_t data_len, uint16_t conn_ha
}

static int
check_bis_sync(uint16_t num_subgroups, const uint32_t *bis_sync_list)
check_bis_sync(uint16_t num_subgroups, struct ble_svc_audio_bass_subgroup subgroups)
Copy link
Contributor

@MariuszSkamra MariuszSkamra Sep 24, 2024

Choose a reason for hiding this comment

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

Pass subgroup pointer here:
struct ble_svc_audio_bass_subgroup *subgroups

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Typo, sorry - fixed.

This commit adds subgroups info for modify source operation.
Now metadata field can be handled in scan delegator during
modify procedure.
@MariuszSkamra
Copy link
Contributor

LGTM :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
host size/S Small PR size/XS Extra small PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants