This is an automated email from the ASF dual-hosted git repository.

kopyscinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new c753751dd nimble/services: Fix incorrect PACS characteristic 
notification
c753751dd is described below

commit c753751dddd249a0036a6b7b6529f5a3904c2ed8
Author: Szymon Czapracki <[email protected]>
AuthorDate: Wed Apr 10 11:20:55 2024 +0200

    nimble/services: Fix incorrect PACS characteristic notification
    
    This commit provides fix for incorrect  PACS characteristic sending 
notification
    after changing it's state.
---
 nimble/host/audio/services/pacs/src/ble_audio_svc_pacs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nimble/host/audio/services/pacs/src/ble_audio_svc_pacs.c 
b/nimble/host/audio/services/pacs/src/ble_audio_svc_pacs.c
index 9b124a5a9..d91722fc8 100644
--- a/nimble/host/audio/services/pacs/src/ble_audio_svc_pacs.c
+++ b/nimble/host/audio/services/pacs/src/ble_audio_svc_pacs.c
@@ -385,7 +385,7 @@ ble_svc_audio_pacs_set(uint8_t flags, struct 
ble_svc_audio_pacs_set_param *param
     if (flags & BLE_AUDIO_CODEC_DIR_SINK_BIT) {
         ble_svc_audio_pacs_sink_audio_locations = param->audio_locations;
         ble_svc_audio_pacs_sup_sink_contexts = param->supported_contexts;
-        rc = pac_notify(BLE_SVC_AUDIO_PACS_CHR_UUID16_SOURCE_AUDIO_LOCATIONS);
+        rc = pac_notify(BLE_SVC_AUDIO_PACS_CHR_UUID16_SINK_AUDIO_LOCATIONS);
         if (rc != 0) {
             return rc;
         }

Reply via email to