- Validated all jamming functions line-by-line - Added individual radio status tracking with error reporting - Enhanced web interface with live status updates - Rewrote README with dark/hacker aesthetic - Added detailed effectiveness explanation (30-100m range) - Fixed state management and error handling - Tested compilation with PlatformIO - Added comprehensive legal warnings - Added .gitignore for build artifacts
35 lines
1.0 KiB
C
35 lines
1.0 KiB
C
#ifndef CONFIG_H
|
|
#define CONFIG_H
|
|
|
|
// CC1101 #1 (315 MHz band)
|
|
#define CC1101_1_CS 7
|
|
#define CC1101_1_GDO0 4
|
|
#define CC1101_1_FREQ_MHZ 315.0f
|
|
|
|
// CC1101 #2 (433.92 MHz band)
|
|
#define CC1101_2_CS 8
|
|
#define CC1101_2_GDO0 5
|
|
#define CC1101_2_FREQ_MHZ 433.92f
|
|
|
|
// Shared SPI (FSPI default on ESP32-S3: 11=MOSI, 12=SCK, 13=MISO)
|
|
#define SPI_SPEED_HZ 2000000
|
|
|
|
// WiFi AP for read-only telemetry UI
|
|
#define WIFI_AP_SSID "killer"
|
|
#define WIFI_AP_PASS "password" // simple demo password
|
|
|
|
// Web server
|
|
#define WEB_PORT 80
|
|
|
|
// Jamming configuration
|
|
#define JAMMING_ENABLED true // Start jamming immediately on boot
|
|
#define DEFAULT_JAM_POWER 10 // Default TX power in dBm (0-10)
|
|
#define JAM_NOISE_PATTERN_LEN 64 // Length of pseudo-random noise pattern for modulated jamming
|
|
|
|
// Modulation parameters for jamming
|
|
#define JAM_BITRATE_KBPS 4.8f // Bit rate for modulated jamming
|
|
#define JAM_FREQ_DEV_KHZ 5.0f // Frequency deviation
|
|
#define JAM_RX_BW_KHZ 135.0f // Receiver bandwidth
|
|
|
|
#endif
|