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

Request message body for sl_wfx_connect_req_t. More...

#include <sl_wfx_cmd_api.h>

Public Attributes

sl_wfx_ssid_def_t ssid_def
 Service Set Identifier (SSID) of the network.
 
uint8_t bssid [SL_WFX_BSSID_SIZE]
 Basic Service Set Identifier (BSSID) of the Access Point. More...
 
uint16_t channel
 Channel of the Access Point. More...
 
uint8_t security_mode
 Security mode of the network. More...
 
uint8_t prevent_roaming
 Boolean option to prevent roaming between access points. More...
 
uint16_t mgmt_frame_protection
 Protected Management Frames (PMF) mode. More...
 
uint16_t password_length
 Length of the network password. More...
 
uint8_t password [SL_WFX_PASSWORD_SIZE]
 Password of the network. More...
 
uint16_t ie_data_length
 Length of vendor-specific Information Element (IE) data. More...
 
uint8_t ie_data []
 Vendor-specific IE data added to the 802.11 Association Request frames. More...
 

Detailed Description

Request message body for sl_wfx_connect_req_t.

Member Data Documentation

◆ bssid

uint8_t sl_wfx_connect_req_body_s::bssid[SL_WFX_BSSID_SIZE]

Basic Service Set Identifier (BSSID) of the Access Point.

broadcast address: The device will connect to any matching access point.
unicast address: The device will only connect to the given Access Point.
See Basic Service Set Identifier for further details.

◆ channel

uint16_t sl_wfx_connect_req_body_s::channel

Channel of the Access Point.

0: The device will connect to a matching Access Point on any channel.
1 - 13: The device will only connect to a matching Access Point on the given channel.

◆ ie_data

uint8_t sl_wfx_connect_req_body_s::ie_data[]

Vendor-specific IE data added to the 802.11 Association 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.
See Vendor-Specific IE for further details.

◆ ie_data_length

uint16_t sl_wfx_connect_req_body_s::ie_data_length

Length of vendor-specific Information Element (IE) data.

0 - 255: The amount of bytes.

◆ mgmt_frame_protection

uint16_t sl_wfx_connect_req_body_s::mgmt_frame_protection

Protected Management Frames (PMF) mode.

WFM_MGMT_FRAME_PROTECTION_DISABLED: The device will not use PMF even if supported by the access point.
WFM_MGMT_FRAME_PROTECTION_OPTIONAL: The device will use PMF if supported by the access point.
WFM_MGMT_FRAME_PROTECTION_MANDATORY: The device will only connect to an access point supporting PMF.
See wfm_mgmt_frame_protection for enumeration values.

◆ password

uint8_t sl_wfx_connect_req_body_s::password[SL_WFX_PASSWORD_SIZE]

Password of the network.

64-bit WEP key: 5 bytes in ASCII format or 10 bytes in HEX format.
128-bit WEP key: 13 bytes in ASCII format or 26 bytes in HEX format.
WPA pass phrase: 8 - 63 bytes in ASCII format.
WPA PMK: 64 bytes in HEX format.
See Passwords and pass phrases for further details.

◆ password_length

uint16_t sl_wfx_connect_req_body_s::password_length

Length of the network password.

0 - 64: The amount of bytes.

◆ prevent_roaming

uint8_t sl_wfx_connect_req_body_s::prevent_roaming

Boolean option to prevent roaming between access points.

0: The device may roam to any matching access point within the same network.
1: The device will not roam to any other access point.

◆ security_mode

uint8_t sl_wfx_connect_req_body_s::security_mode

Security mode of the network.

WFM_SECURITY_MODE_OPEN: The device will only connect to an unsecured Access Point.
WFM_SECURITY_MODE_WEP: The device will only connect to a WEP Access Point.
WFM_SECURITY_MODE_WPA2_WPA1_PSK: The device will only connect to a WPA-Personal or a WPA2-Personal Access Point.
WFM_SECURITY_MODE_WPA2_PSK: The device will only connect to a WPA2-Personal access point.
WFM_SECURITY_MODE_WPA3_SAE: The device will only connect to a WPA3-SAE access point.
See wfm_security_mode for enumeration values.


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