VintageNetWiFi.Cookbook.open_wifi
You're seeing just the function
open_wifi
, go back to VintageNetWiFi.Cookbook module for more information.
Specs
open_wifi(String.t()) :: {:ok, map()} | {:error, VintageNetWiFi.WPA2.invalid_ssid_error()}
Return a configuration for connecting to open WiFi network
Pass an SSID and passphrase. If the SSID and passphrase are ok, you'll get an
:ok
tuple with the configuration. If there's a problem, you'll get an error
tuple with a reason.