| 30 | #include "wifi_hotspot.h" |
| 31 | |
| 32 | static std::string create_command_wifi_client(const std::string ssid, |
| 33 | const std::string pw) { |
| 34 | return fmt::format("sudo nmcli dev wifi connect \"{}\" password \"{}\"", ssid, |
| 35 | pw); |
| 36 | } |
| 37 | |
| 38 | static std::shared_ptr<spdlog::logger> get_console() { |
| 39 | return openhd::log::create_or_get("WiFiClient"); |