nrfxlib API 3.4.99
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_le_cs_set_default_security_requirements()

uint8_t sdc_hci_cmd_le_cs_set_default_security_requirements ( const sdc_hci_cmd_le_cs_set_default_security_requirements_t * p_params)

#include <softdevice_controller/include/sdc_hci_cmd_le.h>

LE CS Set Default Security Requirements.

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

The HCI_LE_CS_Set_Default_Security_Requirements command is used by a Host to set the initial Channel Sounding security requirements that the Controller shall enforce on all future ACL connections. This command does not affect any existing connection.

The CS_Security_Requirements parameter indicates the Channel Sounding security requirements.

Errors:

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

Type     Condition                                                     Error code
MC       The Channel Sounding (Host Support) feature bit is not set.   Command Disallowed (0x0C)
MC       The CS_Security_Requirements parameter is used to en-         Unsupported Feature or
Param-
         force a security requirement that the Controller does not     eter Value (0x11)
         support.

Event(s) generated (unless masked away):

When the HCI_LE_CS_Set_Default_Security_Requirements command has completed, an HCI_Command_Complete event shall be generated.

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.