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

Function _get_multi_interface_state

webapp_modern.py:11122–11126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11120def wardriving_serial():
11121 """Get or set serial ESP32 listener configuration. Supports multiple companions."""
11122 try:
11123 engine = _get_wardriving_engine()
11124
11125 if request.method == 'GET':
11126 companions = [c.as_dict() for c in engine._companions.values()]
11127 return jsonify({
11128 'connected': engine.serial_connected,
11129 'port': engine._serial_port or '',

Callers 10

get_wifi_interfacesFunction · 0.85
get_wifi_statusFunction · 0.85
get_wifi_scan_controlFunction · 0.85
_toggle_scan_interfaceFunction · 0.85
update_wifi_scan_modeFunction · 0.85
get_ethernet_statusFunction · 0.85
set_ethernet_preferenceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected