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

◆ sdc_hci_cmd_vs_scan_channel_map_set()

uint8_t sdc_hci_cmd_vs_scan_channel_map_set ( const sdc_hci_cmd_vs_scan_channel_map_set_t p_params)

#include <softdevice_controller/include/sdc_hci_vs.h>

Set the channel map for scanning and initiating.

This command sets the RF channels that should be used for scanning and initiating on the primary advertising channels. The channel map will be used for subsequent commands to start scanning or to create connections. Scanning and initiating that was started before issuing this command is not affected.

The default behavior is to listen on all primary advertising channels. The default behavior is restored when issuing the HCI Reset command.

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.