apache / mynewt-nimble

Apache mynewt
https://mynewt.apache.org/
Apache License 2.0
680 stars 392 forks source link

nimble/services: add PACS #1675

Closed KKopyscinski closed 5 months ago

KKopyscinski commented 7 months ago

This commit adds Published Audio Capabilities Service/Prifile. In pair ble_audio_codec module is added, that supports registering supported codecs with their corresponding configurations.

KKopyscinski commented 7 months ago

@MariuszSkamra

KKopyscinski commented 7 months ago

Fixed ble_svc_audio_pacs_avail_contexts array, all array elements should have BLE_HS_CONN_HANDLE_NONE on init

KKopyscinski commented 7 months ago

TODO: add LC3 PACS package

edit: done

KKopyscinski commented 7 months ago

@rymanluk Added LC3 PACS package, resolved some bugs and tested code. I'll add doxygen soon

KKopyscinski commented 6 months ago

This patch is blocked by https://github.com/apache/mynewt-nimble/pull/1714. I'll update this with working one once the other one is merged (There are issues with includes in current tree structure. They need to be fixed first, and this PR will use new directories)

Edit: rebased after refactor was merged

KKopyscinski commented 6 months ago

@MariuszSkamra @rymanluk rebased onto master