From 40b6c29e01abc867eb35d841143aef76b997ce83 Mon Sep 17 00:00:00 2001 From: Szymon Czapracki Date: Wed, 10 Apr 2024 11:20:55 +0200 Subject: [PATCH] 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; }