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

Function wardriving_serial_detect

webapp_modern.py:8338–8346  ·  view source on GitHub ↗

Auto-detect all ESP32 companions on serial ports.

()

Source from the content-addressed store, hash-verified

8336 """Get current configuration"""
8337 try:
8338 return jsonify(shared_data.config)
8339 except Exception as e:
8340 logger.error(f"Error getting config: {e}")
8341 return jsonify({'error': str(e)}), 500
8342
8343
8344@app.route('/api/config', methods=['POST'])
8345def update_config():
8346 """Update configuration"""
8347 try:
8348 data = request.get_json()
8349 if not data:

Callers

nothing calls this directly

Calls 3

_get_wardriving_engineFunction · 0.85
errorMethod · 0.80

Tested by

no test coverage detected