nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_lc_read_remote_version_information()

uint8_t sdc_hci_cmd_lc_read_remote_version_information ( const sdc_hci_cmd_lc_read_remote_version_information_t p_params)

#include <softdevice_controller/include/sdc_hci_cmd_link_control.h>

Read Remote Version Information.

The description below is extracted from Core_v5.4, Vol 4, Part E, Section 7.1.23

This command will obtain the values for the version information for the remote device identified by the Connection_Handle parameter. The Connection_Handle shall be a Connection_Handle for an ACL-U or LE-U logical link.

Event(s) generated (unless masked away): When the Controller receives the HCI_Read_Remote_Version_Information command, the Controller shall send the HCI_Command_Status event to the Host. When the Link Manager or Link Layer has completed the sequence to determine the remote version information, the local Controller shall send an HCI_Read_Remote_Version_Information_Complete event to the Host. The HCI_Read_Remote_Version_Information_Complete event contains the status of this command, and parameters describing the version and subversion of the LMP or Link Layer used 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.