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

Function wificards_to_json

OpenHD/ohd_interface/src/wifi_card.cpp:53–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 supported_frequencies_5G)
52
53static nlohmann::json wificards_to_json(const std::vector<WiFiCard> &cards) {
54 nlohmann::json j;
55 for (auto &_card : cards) {
56 nlohmann::json cardJson = _card;
57 j.push_back(cardJson);
58 }
59 return j;
60}
61
62static constexpr auto WIFI_MANIFEST_FILENAME = "/tmp/wifi_manifest";
63

Callers 1

write_wificards_manifestFunction · 0.85

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected