XCORE SDK
XCORE Software Development Kit
Public Attributes | List of all members
sl_wfx_start_scan_req_body_s Struct Reference

Request message body for sl_wfx_start_scan_req_t. More...

#include <sl_wfx_cmd_api.h>

Public Attributes

uint16_t scan_mode
 Scan mode. More...
 
uint16_t channel_list_count
 The amount of specific channels to scan. More...
 
uint16_t ssid_list_count
 The amount of specific SSIDs to scan. More...
 
uint16_t ie_data_length
 Length of vendor-specific Information Element (IE) data in 802.11 Probe Request frames. More...
 
uint8_t data []
 Data for the variable-length scan parameters. More...
 

Detailed Description

Request message body for sl_wfx_start_scan_req_t.

Member Data Documentation

◆ channel_list_count

uint16_t sl_wfx_start_scan_req_body_s::channel_list_count

The amount of specific channels to scan.

0: The device will scan all channels
1 - 13: The amount of specific channels to scan.

◆ data

uint8_t sl_wfx_start_scan_req_body_s::data[]

Data for the variable-length scan parameters.

The variable-length scan parameters are concatenated together without any padding between the different parameters.

1. List of specific channels to scan.

1 - 13: The channel number to scan per byte.
Must contain the same number of channels as specified in ChannelListCount.
See Scanning for further details.

2. List of specific SSIDs to scan.

Must contain the same number of WfmHiSsidDef_t elements as specified in SsidListCount.
This parameter is applicable only for an active scan. See Scanning for further details.

3. Vendor-specific IE data added to the 802.11 Probe Request frames.

The IE data must be in 802.11 Vendor-Specific Element format. It may contain multiple concatenated IEs, up to the maximum length.
This parameter is applicable only for an active scan. See Vendor-Specific IE for further details.

4. Basic Service Set Identifier (BSSID) to scan.

broadcast address: The device will send Probe Request frames to all devices.
unicast address: The device will send Probe Request frames to a specific device.
This parameter is applicable only for an active scan. If not specified, broadcast address is assumed.
Note that an SSID list must be specified when using the unicast address, otherwise the received scan results may contain unexpected additional networks.
See Basic Service Set Identifier for further details.

◆ ie_data_length

uint16_t sl_wfx_start_scan_req_body_s::ie_data_length

Length of vendor-specific Information Element (IE) data in 802.11 Probe Request frames.

0 - 255: The amount of bytes.

◆ scan_mode

uint16_t sl_wfx_start_scan_req_body_s::scan_mode

Scan mode.

WFM_SCAN_MODE_PASSIVE: The device will perform a passive scan.
WFM_SCAN_MODE_ACTIVE: The device will perform an active scan.
See wfm_scan_mode for enumeration values.
See Scanning for further details.

◆ ssid_list_count

uint16_t sl_wfx_start_scan_req_body_s::ssid_list_count

The amount of specific SSIDs to scan.

0: The device will perform a broadcast scan
1 - 2: The amount of specific SSIDs to scan.


The documentation for this struct was generated from the following file: