nrfxlib API 2.7.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_v5.4, Vol 4, Part E, Section 7.8.101

The HCI_LE_Accept_CIS_Request 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.

If the Peripheral's Host issues this command with a Connection_Handle that does not exist, or the Connection_Handle is not for a CIS, the Controller shall return the error code Unknown Connection Identifier (0x02).

If the Peripheral's Host issues this command with a Connection_Handle for a CIS that has already been established or that already has an HCI_LE_- Accept_CIS_Request or HCI_LE_Reject_CIS_Request command in progress, the Controller shall return the error code Command Disallowed (0x0C).

If the Central’s Host issues this command, the Controller shall return the error code 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.