MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / get_interface_details

Method get_interface_details

wardriving.py:2185–2190  ·  view source on GitHub ↗

Get details for all active WiFi interfaces (for UI display).

(self)

Source from the content-addressed store, hash-verified

2183 # Continuous USB-serial device monitor — discovers and classifies GPS
2184 # pucks and ESP32 companions (Huginn/Piglet/Core/Coordinator) on the fly
2185 # and attaches/detaches handlers on hot-plug. Replaces the old one-shot
2186 # detection so a device that appears late (the u-blox 7 enumerates ~3.5
2187 # min after boot and re-enumerates), or a Huginn→Piglet swap, is picked
2188 # up within seconds with no restart. Its first tick handles whatever is
2189 # already plugged in.
2190 self._managed_devices = {}
2191 self._device_monitor_thread = threading.Thread(
2192 target=self._device_monitor_loop, daemon=True, name="wardriving-usb-monitor")
2193 self._device_monitor_thread.start()

Callers 1

get_statusMethod · 0.95

Calls 2

_get_interface_infoMethod · 0.95
appendMethod · 0.80

Tested by

no test coverage detected