and then wait a bit and then their device will be connected. The quick_configure functions only work for WPA2 PSK and open networks, but that's probably 90+% of what people have.
The next step is to help make the configurations. That's what VintageNetWiFi.Cookbook is for and these configurations could be used anywhere. For example, these functions could help make hardcoded configs in the config.exs or they could be used in people's programs to avoid dealing with the configuration maps.
The quick_configure functions use the VintageNetWiFi.Cookbook.
The goal for these helpers is to lower the friction to configuring the most common types of networks. There are two interfaces:
VintageNetWiFi.quick_configure
for configuring WiFi on"wlan0"
to either an open WiFi configuration or a WPA-PSK2 oneVintageNetWiFi.Cookbook
for a set of helper functions for coming up with the configurations to pass toVintageNet.configure/2
My hope is that users will do this at the
iex
prompt:and then wait a bit and then their device will be connected. The
quick_configure
functions only work for WPA2 PSK and open networks, but that's probably 90+% of what people have.The next step is to help make the configurations. That's what
VintageNetWiFi.Cookbook
is for and these configurations could be used anywhere. For example, these functions could help make hardcoded configs in theconfig.exs
or they could be used in people's programs to avoid dealing with the configuration maps.The
quick_configure
functions use theVintageNetWiFi.Cookbook
.