mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-15 22:20:59 +00:00
hci: separate command complete for le create cis and le accept cis request
This commit is contained in:
parent
3cb9266831
commit
42529435e0
@ -2855,13 +2855,18 @@ static void handle_command_complete_event(uint8_t * packet, uint16_t size){
|
||||
}
|
||||
hci_stack->iso_active_operation_group_id = 0xff;
|
||||
break;
|
||||
case HCI_OPCODE_HCI_LE_ACCEPT_CIS_REQUEST:
|
||||
case HCI_OPCODE_HCI_LE_CREATE_CIS:
|
||||
status = packet[OFFSET_OF_DATA_IN_COMMAND_COMPLETE];
|
||||
if (status != ERROR_CODE_SUCCESS){
|
||||
hci_iso_stream_requested_finalize(0xff);
|
||||
}
|
||||
break;
|
||||
case HCI_OPCODE_HCI_LE_ACCEPT_CIS_REQUEST:
|
||||
status = packet[OFFSET_OF_DATA_IN_COMMAND_COMPLETE];
|
||||
if (status != ERROR_CODE_SUCCESS){
|
||||
hci_iso_stream_requested_finalize(0xff);
|
||||
}
|
||||
break;
|
||||
case HCI_OPCODE_HCI_LE_SETUP_ISO_DATA_PATH: {
|
||||
// lookup BIG by state
|
||||
btstack_linked_list_iterator_t it;
|
||||
|
Loading…
x
Reference in New Issue
Block a user