mirror of
https://github.com/smittix/intercept.git
synced 2026-06-02 11:13:37 -07:00
Add debug output for request data
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -12011,9 +12011,11 @@ def start_adsb():
|
|||||||
return jsonify({'status': 'error', 'message': 'ADS-B already running (using service)'})
|
return jsonify({'status': 'error', 'message': 'ADS-B already running (using service)'})
|
||||||
|
|
||||||
data = request.json or {}
|
data = request.json or {}
|
||||||
|
print(f"[ADS-B] Request data: {data}")
|
||||||
gain = data.get('gain', '40')
|
gain = data.get('gain', '40')
|
||||||
device = data.get('device', '0')
|
device = data.get('device', '0')
|
||||||
force_service = data.get('forceService', False)
|
force_service = data.get('forceService', False)
|
||||||
|
print(f"[ADS-B] forceService = {force_service}")
|
||||||
|
|
||||||
# First check if dump1090 is already running as a service with SBS port
|
# First check if dump1090 is already running as a service with SBS port
|
||||||
service_addr = check_dump1090_service()
|
service_addr = check_dump1090_service()
|
||||||
|
|||||||
Reference in New Issue
Block a user