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

Method configure

OpenHD/ohd_interface/src/ethernet_manager.cpp:195–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195void EthernetManager::configure(int operating_mode,
196 const std::string& ethernet_card) {
197 m_console->warn("configure {}", ethernet_card);
198 if (operating_mode == ETHERNET_OPERATING_MODE_HOTSPOT) {
199 create_ethernet_hotspot_connection_if_needed(m_console, ethernet_card);
200 } else {
201 while (!m_terminate) {
202 loop_ethernet_external_device_listener(ethernet_card);
203 }
204 }
205}
206
207void EthernetManager::loop_ethernet_external_device_listener(
208 const std::string& device_name) {

Callers

nothing calls this directly

Tested by

no test coverage detected