Skip to content

Commit

Permalink
Update Cookbook for wpa_supplicant_conf
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorRigby authored and fhunleth committed May 29, 2021
1 parent c761d6c commit e442cc2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,28 @@ See the
for an example of a project that uses AP mode and a web server for WiFi
configuration.

### Advanced Use of WPA Supplicant

VintageNetWifi supports an "escape hatch" of sorts if you need precise control over the contents of the supplicant configuration.
The contents of the `wpa_supplicant_conf` will be coppied without validation to the wpa_supplicant.conf file that
VintageNet manages. Example:

```elixir
%{
type: VintageNetWiFi,
vintage_net_wifi: %{
wpa_supplicant_conf: """
network={
ssid="home"
key_mgmt=WPA-PSK
psk="very secret passphrase"
}
"""
},
ipv4: %{method: :dhcp}
}
```

### Bridged Mesh WiFi

In addition to infrastructure and AP modes, some WiFi modules can form a mesh.
Expand Down

0 comments on commit e442cc2

Please sign in to comment.