Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StaInterface

Define known Wi-Fi AP.

Hierarchy

  • StaInterface

Index

Constructors

Properties

80211r?: boolean

Enable or disable 802.11r aka Fast BSS Transition (FT).

bgscan_interval?: number = 30

Interval in seconds between background scans. If set to 0 background scan is disabled. If not set, default value is used. Results of background scans can be used for roaming.

bgscan_threshold?: number = -68

Signal threshold in dBm bellow which background scan will be done in short intervals to roam sooner. If set to 0 background scan is disabled. If not set, default value is used. Usually around values -60 to -70.

options?: Record<string, string>

This object is optional and can be used to configure extra parameters for the section. For wpa_supplicant and hostapd, it sends unchanged key, value settings to the corresponding socket.

scan_freq?: number[] = []

Set specific frequencies to scan for access points. Can be both 2.4 GHz and 5 GHz frequencies. https://en.wikipedia.org/wiki/List_of_WLAN_channels Example: [2412, 2437, 2462]

Wi-Fi security mode.

security_params_peap?: StaInterfaceSecParamsPeap

Params for EAP PEAP security mode. Used only if security_mode is SECURITY_EAP_PEAP.

security_params_psk?: StaInterfaceSecParamsPsk

Params for PSK security mode. Used only if security_mode is SECURITY_PSK.

security_params_tls?: StaInterfaceSecParamsTls

Params for EAP TLS security mode. Used only if security_mode is SECURITY_EAP_TLS.

ssid: string = ''

Allowed value of SSID Wi-Fi station will try to connect to. Only one SSID is supported.

Generated using TypeDoc