szymon-czapracki commented on code in PR #1839:
URL: https://github.com/apache/mynewt-nimble/pull/1839#discussion_r1727282074


##########
nimble/host/audio/services/bass/src/ble_audio_svc_bass.c:
##########
@@ -549,18 +549,20 @@ static int
 ble_svc_audio_bass_remove_source(uint8_t *data, uint16_t data_len, uint16_t 
conn_handle)
 {
     struct ble_audio_event ev = {
-        .type = BLE_AUDIO_EVENT_BASS_BROADCAST_CODE_SET,
+        .type = BLE_AUDIO_EVENT_BASS_OPERATION_STATUS,
         .bass_operation_status = {
             .op = BLE_AUDIO_EVENT_BASS_SOURCE_REMOVED,
             .status = 0
         }
     };
     struct ble_svc_audio_bass_rcv_state_entry *rcv_state = NULL;
     struct ble_svc_audio_bass_operation operation;
+       uint16_t chr_val;

Review Comment:
   Done



##########
nimble/host/audio/services/bass/src/ble_audio_svc_bass.c:
##########
@@ -549,18 +549,20 @@ static int
 ble_svc_audio_bass_remove_source(uint8_t *data, uint16_t data_len, uint16_t 
conn_handle)
 {
     struct ble_audio_event ev = {
-        .type = BLE_AUDIO_EVENT_BASS_BROADCAST_CODE_SET,
+        .type = BLE_AUDIO_EVENT_BASS_OPERATION_STATUS,
         .bass_operation_status = {
             .op = BLE_AUDIO_EVENT_BASS_SOURCE_REMOVED,
             .status = 0
         }
     };
     struct ble_svc_audio_bass_rcv_state_entry *rcv_state = NULL;
     struct ble_svc_audio_bass_operation operation;
+       uint16_t chr_val;
     int rc = 0;
     int i;
 
-    ev.bass_set_broadcast_code.source_id = data[0];
+    ev.bass_set_broadcast_code.source_id = data[1];
+       operation.op = BLE_SVC_AUDIO_BASS_OPERATION_REMOVE_SOURCE;

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to