nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_le_read_remote_features()

uint8_t sdc_hci_cmd_le_read_remote_features ( const sdc_hci_cmd_le_read_remote_features_t * p_params)

#include <softdevice_controller/include/sdc_hci_cmd_le.h>

LE Read Remote Features.

The description below is extracted from Core_v6.0, Vol 4, Part E, Section 7.8.21

This command requests, from the remote device identified by the Connection_Handle, page 0 of the features used on the connection and the features supported by the remote device. For details see [Vol 6] Part B, Section 4.6.

This command may be issued on both the Central and Peripheral.

If a connection already exists between the two devices and page 0 of the features have already been fetched on that connection, the Controller may use a cached copy of page 0 of the features.

Event(s) generated (unless masked away): When the Controller receives the HCI_LE_Read_Remote_Features_Page_0 command, the Controller shall send the HCI_Command_Status event to the Host. When the Controller has completed the procedure to determine the remote features or has determined that it will be using a cached copy, the Controller shall send an HCI_LE_Read_Remote_Features_Page_0_Complete event to the Host.

The HCI_LE_Read_Remote_Features_Page_0_Complete event contains the status of this command and the parameter describing page 0 of the features used on the connection and the features supported by the remote device.

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.