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

◆ sdc_hci_cmd_vs_read_average_rssi()

uint8_t sdc_hci_cmd_vs_read_average_rssi ( const sdc_hci_cmd_vs_read_average_rssi_t * p_params,
sdc_hci_cmd_vs_read_average_rssi_return_t * p_return )

#include <softdevice_controller/include/sdc_hci_vs.h>

Read average RSSI.

This command reads the average Received Signal Strength Indication (RSSI) value calculated by LE Power Control.

The average RSSI is calculated as an exponential weighted average according to the formula given in sdc_hci_cmd_vs_set_power_control_request_params().

Event(s) generated (unless masked away): When the command has completed, an HCI_Command_Complete event shall be generated.

Parameters
[in]p_paramsInput parameters.
[out]p_returnExtra return 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.