# VintageNetWizard.WiFiConfiguration (vintage_net_wizard v0.4.2) View Source

Module for working with various WiFi configurations

# Link to this section Summary

## Types

key_mgmt()

## Functions

get_key_mgmt(map)

Get the `key_mgmt` type from the particular WiFi Configuration

json_to_network_config(params)

Make a network config from a JSON request from the `VintageNetWizard` client

key_mgmt_from_string(arg1)

Convert a key_mgmt string into a key_mgmt

security_name(map)

Get a human friendly name for the type of security of a WiFiConfiguration

timeout(map)

Get the expected timeout in milisecs for a particular configuration

# Link to this section Types

Link to this type

# key_mgmt()

View Source

## Specs

    key_mgmt() :: :none | :wpa_psk | :wpa_eap

# Link to this section Functions

Link to this function

# get_key_mgmt(map)

View Source

## Specs

    get_key_mgmt(map()) :: key_mgmt()

Get the `key_mgmt` type from the particular WiFi Configuration

Link to this function

# json_to_network_config(params)

View Source

## Specs

    json_to_network_config(map()) ::
      {:ok, map()}
      | {:error, VintageNetWizard.WiFiConfiguration.Params.param_error()}

Make a network config from a JSON request from the `VintageNetWizard` client

Link to this function

# key_mgmt_from_string(arg1)

View Source

## Specs

    key_mgmt_from_string(String.t()) ::
      {:ok, key_mgmt()} | {:error, :invalid_key_mgmt}

Convert a key_mgmt string into a key_mgmt

Link to this function

# security_name(map)

View Source

## Specs

    security_name(%{key_mgmt: key_mgmt()}) :: String.t()

Get a human friendly name for the type of security of a WiFiConfiguration

Link to this function

# timeout(map)

View Source

## Specs

    timeout(%{key_mgmt: key_mgmt()}) :: 30000 | 75000

Get the expected timeout in milisecs for a particular configuration