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

Method _resolve_scan_interface

wifi_manager.py:158–164  ·  view source on GitHub ↗

Return a safe interface name for scanning commands.

(self, interface=None)

Source from the content-addressed store, hash-verified

156 # Connection tracking
157 self.last_connection_type = None # 'wifi', 'ethernet', or None
158 self.last_ethernet_interface = None
159
160 # Load configuration
161 self.load_wifi_config()
162
163 def load_wifi_config(self):
164 """Load Wi-Fi configuration from shared data"""
165 try:
166 config = self.shared_data.config
167

Callers 5

scan_networksMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected