nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_le_reject_cis_request()

uint8_t sdc_hci_cmd_le_reject_cis_request ( const sdc_hci_cmd_le_reject_cis_request_t p_params,
sdc_hci_cmd_le_reject_cis_request_return_t p_return 
)

#include <softdevice_controller/include/sdc_hci_cmd_le.h>

LE Reject CIS Request.

The description below is extracted from Core_v5.4, Vol 4, Part E, Section 7.8.102

The HCI_LE_Reject_CIS_Request command is used by the Peripheral's Host to inform the Controller to reject 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.

When this command succeeds, the Controller shall delete the Connection_Handle of the requested CIS.

The Reason command parameter indicates the reason for rejecting the CIS request.

If the Peripheral's Host issues this command with a Connection_Handle that 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 HCI_LE_Reject_CIS_Request command has completed, an HCI_Command_Complete event shall be generated.

Parameters
[in]p_paramsInput parameters.
[out]p_returnExtra return 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.