VintageNetWiFi.AccessPoint (vintage_net_wifi v0.10.0) View Source

Information about a WiFi access point

  • :bssid - a unique address for the access point
  • :flags - a list of flags describing properties on the access point
  • :frequency - the access point's frequency in MHz
  • :signal_dbm - the signal strength in dBm
  • :ssid - the access point's name

Link to this section Summary

Link to this section Types

Specs

band() :: :wifi_2_4_ghz | :wifi_5_ghz | :unknown

Specs

flag() ::
  :wpa2_psk_ccmp
  | :wpa2_eap_ccmp
  | :wpa2_psk_ccmp_tkip
  | :wpa_psk_ccmp_tkip
  | :ibss
  | :mesh
  | :ess
  | :p2p
  | :wps
  | :rsn_ccmp

Specs

t() :: %VintageNetWiFi.AccessPoint{
  band: band(),
  bssid: String.t(),
  channel: non_neg_integer(),
  flags: [flag()],
  frequency: non_neg_integer(),
  signal_dbm: integer(),
  signal_percent: 0..100,
  ssid: String.t()
}

Link to this section Functions

Link to this function

new(bssid, ssid, frequency, signal_dbm, flags)

View Source

Specs

new(String.t(), String.t(), non_neg_integer(), integer(), [flag()]) :: t()

Create a new AccessPoint struct