// SPDX-License-Identifier: GPL-3.0-only // WiFi bring-up. Joins the configured network in station mode; if no credentials are // stored or the join fails, falls back to a SoftAP so the REST API is still reachable to // provision WiFi. Advertises the device over mDNS as openscribe.local. #pragma once #include namespace net_wifi { bool begin(); void loop(); // reconnect logic in station mode bool connected(); // station connected to the configured AP bool isAccessPoint(); // running the provisioning SoftAP String ip(); // current reachable IP (station or AP) } // namespace net_wifi