nrfxlib API 0.1.0
|
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_v5.4, 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 with a Connection_Handle that does not exist, or the Connection_Handle is not for an ACL the Controller shall return the error code Unknown Connection Identifier (0x02).
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.
If the Host issues this command when the Controller is aware (e.g., through a previous feature exchange) that the peer device's Link Layer does not support the Sleep Clock Accuracy Updates feature, the Controller shall return the error code Unsupported Remote 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.
[in] | p_params | Input parameters. |
0 | if success. |