nrfxlib API 3.3.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_v6.3, Vol 4, Part E, Section 7.8.102

This 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 parameter indicates the reason for rejecting the CIS request.

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