mirror of
https://github.com/smittix/intercept.git
synced 2026-04-25 07:10:00 -07:00
Features: - Add rtl_tcp support for pager and sensor decoding - Connect to remote RTL-SDR via rtl_tcp server - New UI toggle and host:port inputs in sidebar - Supports rtl_fm and rtl_433 with remote devices - Add remote dump1090 support for ADS-B tracking - Connect to dump1090 SBS output on remote machine - New "Remote" checkbox with host:port in ADS-B dashboard Backend changes: - Add rtl_tcp_host/port fields to SDRDevice dataclass - Add is_network property for detecting remote devices - Update RTLSDRCommandBuilder to use rtl_tcp:host:port format - Add create_network_device() to SDRFactory - Add validate_rtl_tcp_host/port validation functions - Update pager, sensor, and adsb routes to accept remote params Note: dump1090 doesn't support rtl_tcp directly - use remote dump1090's SBS output (port 30003) for remote ADS-B tracking.
44 lines
1.1 KiB
Python
44 lines
1.1 KiB
Python
# Utility modules for INTERCEPT
|
|
from .dependencies import check_tool, check_all_dependencies, TOOL_DEPENDENCIES
|
|
from .process import (
|
|
cleanup_stale_processes,
|
|
is_valid_mac,
|
|
is_valid_channel,
|
|
detect_devices,
|
|
safe_terminate,
|
|
register_process,
|
|
unregister_process,
|
|
cleanup_all_processes,
|
|
)
|
|
from .logging import (
|
|
get_logger,
|
|
app_logger,
|
|
pager_logger,
|
|
sensor_logger,
|
|
wifi_logger,
|
|
bluetooth_logger,
|
|
adsb_logger,
|
|
satellite_logger,
|
|
)
|
|
from .validation import (
|
|
escape_html,
|
|
validate_latitude,
|
|
validate_longitude,
|
|
validate_frequency,
|
|
validate_device_index,
|
|
validate_rtl_tcp_host,
|
|
validate_rtl_tcp_port,
|
|
validate_gain,
|
|
validate_ppm,
|
|
validate_hours,
|
|
validate_elevation,
|
|
validate_wifi_channel,
|
|
validate_mac_address,
|
|
validate_positive_int,
|
|
sanitize_callsign,
|
|
sanitize_ssid,
|
|
sanitize_device_name,
|
|
)
|
|
from .sse import sse_stream, format_sse, clear_queue
|
|
from .cleanup import DataStore, CleanupManager, cleanup_manager, cleanup_dict
|