nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_le_accept_cis_request()

uint8_t sdc_hci_cmd_le_accept_cis_request ( const sdc_hci_cmd_le_accept_cis_request_t * p_params)

#include <softdevice_controller/include/sdc_hci_cmd_le.h>

LE Accept CIS Request.

The description below is extracted from Core_v6.3, Vol 4, Part E, Section 7.8.101

This command is used by the Peripheral’s Host to inform the Controller to accept the request for the CIS that is identified by the Connection_Handle.

The command shall only be issued after an HCI_LE_CIS_Request event has occurred. The event contains the Connection_Handle of the CIS.

Errors:

See Section 4.5.2 for a list of error types and descriptions.

Type   Condition                                                                Error code
MC     Connection_Handle does not identify a CIS.                               Unknown
                                                                                Connection
                                                                                Identifier
                                                                                (0x02)
MC     Connection_Handle identifies a connection that has already been          Command
       established or already has an HCI_LE_Accept_CIS_Request or               Disallowed
       HCI_LE_Reject_CIS_Request command in progress.                           (0x0C)
MC     The Host is a Central.                                                   Command
                                                                                Disallowed
                                                                                (0x0C)

Event(s) generated (unless masked away):

When the Controller receives the HCI_LE_Accept_CIS_Request command, the Controller sends the HCI_Command_Status event to the Host. An HCI_LE_CIS_Established event will be generated when the CIS is established or is considered lost before being established.

Parameters
[in]p_paramsInput parameters.
Return values
0if success.
Returns
Returns value between 0x01-0xFF in case of error. See Vol 2, Part D, Error for a list of error codes and descriptions.