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

Method rfkill_unblock_all

OpenHD/ohd_interface/src/wifi_command_helper.cpp:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39bool wifi::commandhelper::rfkill_unblock_all() {
40 get_logger()->info("rfkill_unblock_all");
41 std::vector<std::string> args{"unblock", "all"};
42 bool success = OHDUtil::run_command("rfkill", args);
43 return success;
44}
45
46bool wifi::commandhelper::ip_link_set_card_state(const std::string &device,
47 bool up) {

Callers

nothing calls this directly

Calls 1

get_loggerFunction · 0.70

Tested by

no test coverage detected