MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / create_command_wifi_client

Function create_command_wifi_client

OpenHD/ohd_interface/src/wifi_client.cpp:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30#include "wifi_hotspot.h"
31
32static 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
38static std::shared_ptr<spdlog::logger> get_console() {
39 return openhd::log::create_or_get("WiFiClient");

Callers 1

create_if_enabledMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected