vintage_net v0.6.0 VintageNet.WiFi.AccessPoint 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

Link to this type

band()

View Source
band() :: :wifi_2_4_ghz | :wifi_5_ghz | :unknown
Link to this type

flag()

View Source
flag() ::
  :wpa2_psk_ccmp
  | :wpa2_eap_ccmp
  | :wpa2_psk_ccmp_tkip
  | :wpa_psk_ccmp_tkip
  | :ibss
  | :mesh
  | :ess
  | :p2p
  | :wps
  | :rsn_ccmp
Link to this type

t()

View Source
t() :: %VintageNet.WiFi.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

Create a new AccessPoint struct