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

◆ sdc_hci_cmd_le_request_peer_sca()

uint8_t sdc_hci_cmd_le_request_peer_sca ( const sdc_hci_cmd_le_request_peer_sca_t * p_params)

#include <softdevice_controller/include/sdc_hci_cmd_le.h>

LE Request Peer SCA.

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

This command is used to read the Sleep Clock Accuracy (SCA) of the peer device.

The Connection_Handle parameter is the connection handle of the ACL connection.

If the Host sends this command and the peer device does not support the Sleep Clock Accuracy Updates feature, the Controller shall return the error code Unsupported Feature or Parameter Value (0x11) in the HCI_LE_Request_Peer_SCA_Complete event.

Errors:

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

Type   Condition                                                               Error code
MC     Connection_Handle does not identify an ACL.                             Unknown
                                                                               Connection
                                                                               Identifier
                                                                               (0x02)
MC     The Controller is aware (e.g., through a previous feature exchange)     Unsupported
       that the peer device's Link Layer does not support the Sleep Clock      Remote Feature
       Accuracy Updates feature.                                               (0x1A)

Event(s) generated (unless masked away):

When the Controller receives the HCI_LE_Request_Peer_SCA command, the Controller sends the HCI_Command_Status event to the Host. When the HCI_LE_Request_Peer_SCA command has completed, the HCI_LE_Request_Peer_SCA_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.