Note: originally I was going to report this as vintage_net_wifi trying to connect even when not configured but now I'm not able to reproduce that anymore (I doubt that `VintageNet.deconfigure persists). Of course now after rebooting I'm not able to reproduce it anymore!
Okay, after actually reading the VintageNet.configure docs (and checking in the code), it turns out that VintageNet.deconfigure actually persists, which totally caught me off guard. So I guess this issue should actually be about not trying to scan when not "configured". I'm using configured here to refer to the configuration files (e.g. config.exs), not VintageNet's definition of "configured".
Describe the bug vintage_net_wifi generates noisy logs even when not configured for wifi
To Reproduce Steps to reproduce the behavior:
RingLogger.attach
Expected behavior Instead I'd expect it to not log or try to connect
VintageNet Info
Output of
VintageNet.info
(please hide any sensitive information like WiFi PSKs)Note: this was take after running
VintageNet.deconfigure
Environment
Nerves environment: (
mix nerves.env --info
)mix nerves.env --info
jason@jdesktop ~/d/inky_impression_livebook (impression-initial)> mix nerves.env --info ==> nerves ==> nerves_livebook |nerves_bootstrap| Environment Package List Pkg: nerves_toolchain_armv6_nerves_linux_gnueabihf Vsn: 1.4.3 Type: toolchain BuildRunner: {Nerves.Artifact.BuildRunners.Local, []} Pkg: nerves_toolchain_ctng Vsn: 1.8.4 Type: toolchain_platform BuildRunner: {nil, []} Pkg: nerves_system_rpi0 Vsn: 1.17.1 Type: system BuildRunner: {Nerves.Artifact.BuildRunners.Local, [make_args: ["source", "all", "legal-info"]]} Pkg: nerves_system_br Vsn: 1.17.1 Type: system_platform BuildRunner: {nil, []}|nerves_bootstrap| Loadpaths Start
Nerves environment MIX_TARGET: rpi0 MIX_ENV: dev
|nerves_bootstrap| Environment Variable List target: rpi0 toolchain: /home/jason/.local/share/nerves/artifacts/nerves_toolchain_armv6_nerves_linux_gnueabihf-linux_x86_64-1.4.3 system: /home/jason/.local/share/nerves/artifacts/nerves_system_rpi0-portable-1.17.1 app: .
|nerves_bootstrap| Loadpaths End
Note: originally I was going to report this as vintage_net_wifi trying to connect even when not configured but now I'm not able to reproduce that anymore (I doubt that `VintageNet.deconfigure persists). Of course now after rebooting I'm not able to reproduce it anymore!
Okay, after actually reading the VintageNet.configure docs (and checking in the code), it turns out that VintageNet.deconfigure actually persists, which totally caught me off guard. So I guess this issue should actually be about not trying to scan when not "configured". I'm using configured here to refer to the configuration files (e.g. config.exs), not VintageNet's definition of "configured".