nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_vs_qos_channel_survey_enable()

uint8_t sdc_hci_cmd_vs_qos_channel_survey_enable ( const sdc_hci_cmd_vs_qos_channel_survey_enable_t p_params)

#include <softdevice_controller/include/sdc_hci_vs.h>

Enable the Quality of Service (QoS) channel survey module.

This vendor specific command is used to enable or disable the QoS channel survey module.

The QoS channel survey module provides measurements of the energy levels on the Bluetooth Low Energy channels. When the module is enabled, sdc_hci_subevent_vs_qos_channel_survey_report_t events will periodically report the measured energy levels for each channel.

The measurements are scheduled with low priority.

The QoS channel survey module will attempt to do measurements so that the average interval between measurements will be interval_us. However due to low scheduling priority, this may not be possible. In that case fewer than expected reports may be given.

In order to use the QoS channel survey module, funcref:sdc_support_qos_channel_survey must be called.

Event(s) generated (unless masked away): When the command has completed, an HCI_Command_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.