| 193 | } |
| 194 | |
| 195 | void 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 | |
| 207 | void EthernetManager::loop_ethernet_external_device_listener( |
| 208 | const std::string& device_name) { |
nothing calls this directly
no test coverage detected