![]() |
nrfxlib API 3.4.99
|
| uint8_t sdc_hci_cmd_le_cs_set_security_requirements | ( | const sdc_hci_cmd_le_cs_set_security_requirements_t * | p_params, |
| sdc_hci_cmd_le_cs_set_security_requirements_return_t * | p_return ) |
#include <softdevice_controller/include/sdc_hci_cmd_le.h>
LE CS Set Security Requirements.
The description below is extracted from Core_v6.3, Vol 4, Part E, Section 7.8.157
The HCI_LE_CS_Set_Security_Requirements command is used by a Host to set the Channel Sounding security requirements that the Controller shall enforce on the connection specified by the Connection_Handle parameter. Until the Host sets the Channel Sounding security requirements for a connection (using this command or the HCI_LE_Set_CS_Set_Default_Security_Requirements command (see Section 7.8.158) prior to connection creation), the Controller need not enforce any Channel Sounding security requirements on that 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 Connection_Handle does not exist, or the Connection_Han- Unknown Connection
Identifier
dle is not for an ACL. (0x02)
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.
MC One or more CS procedures have been enabled. Command Disallowed (0x0C)
Event(s) generated (unless masked away):
When the HCI_LE_CS_Set_Security_Requirements command has completed, an HCI_Command_Complete event shall be generated.
| [in] | p_params | Input parameters. |
| [out] | p_return | Extra return parameters. |
| 0 | if success. |