nerves-project-attic / nerves_network

Connect to wired and wireless networks on Nerves platforms.
Apache License 2.0
58 stars 20 forks source link

Refactor WiFi priority to allow independent ip settings #95

Closed ConnorRigby closed 5 years ago

ConnorRigby commented 5 years ago

This PR requires https://github.com/nerves-project/nerves_wpa_supplicant/pull/19 before merging

This allows each network to have it's own ip address settings in the WiFiManager module. This allows for a simple priority system where a user can configure a primary ip, then fall back to creating a hostap network if the network wasn't found or is disconnected etc.

fhunleth commented 5 years ago

I see that CI is failing. I didn't look to see what is wrong, but I did see that it's Travis. Since we're paying for CircleCI, I don't think it would be bad if you switched over especially if it saves you time.

ConnorRigby commented 5 years ago

Currently Travis is failing nerves_wpa_supplicant can't be built from git for some reason. I plan on migrating both of them to Circle once this feature is out.

fhunleth commented 5 years ago

Is that due to mix hex.build requiring dependencies to be on hex? I'll go with whatever you decide to do so long as CI eventually passes.