nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_le_read_all_remote_features()

uint8_t sdc_hci_cmd_le_read_all_remote_features ( const sdc_hci_cmd_le_read_all_remote_features_t * p_params)

#include <softdevice_controller/include/sdc_hci_cmd_le.h>

LE Read All Remote Features.

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

This command requests, from the remote device identified by the Connection_Handle, 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.

The Pages_Requested parameter specifies the highest-numbered page of features that the Host requires. The Controller shall obtain all pages up to the lesser of Pages_Requested and the highest page number on the remote device that contains at least one bit set to 1, and may obtain some or all higher-numbered pages.

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

Errors:

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

Type   Condition                                                     Error code
MC     Another HCI_LE_Read_All_Remote_Features command is pending.   Command Disallowed (0x0C)

Event(s) generated (unless masked away):

When the Controller receives the HCI_LE_Read_All_Remote_Features 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_All_Remote_Features_Complete event to the Host.

The HCI_LE_Read_All_Remote_Features_Complete event contains the status of this command and the parameters describing 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.