Files
NYSM-NYD/config/csi_config.json

88 lines
2.0 KiB
JSON

{
"csi": {
"device": {
"type": "intel_5300",
"interface": "wlan0",
"monitor_mode": true,
"channel": 6,
"bandwidth": 20
},
"capture": {
"enabled": true,
"sampling_rate_hz": 1000,
"packet_filter": "broadcast",
"max_packets_per_second": 10000,
"buffer_size": 10000,
"timeout_ms": 1000
},
"processing": {
"enable_preprocessing": true,
"filter_type": "butterworth",
"low_cutoff": 0.1,
"high_cutoff": 0.9,
"filter_order": 4,
"phase_unwrapping": true,
"calibration": {
"enabled": true,
"reference_file": "calibration/csi_reference.json",
"noise_floor_threshold": -60
}
},
"localization": {
"enabled": true,
"method": "aoa",
"antenna_config": {
"num_antennas": 3,
"antenna_spacing": 0.05,
"frequency": 2.4e9
},
"aoa": {
"algorithm": "music",
"snapshots": 100,
"angle_resolution": 1.0,
"min_snr": 10.0
},
"ranging": {
"algorithm": "tof",
"max_range": 50.0,
"range_resolution": 0.1
}
},
"output": {
"save_raw": false,
"save_processed": true,
"output_dir": "data/csi",
"format": "npz",
"compression": true
}
},
"nexmon": {
"enabled": false,
"device": {
"type": "broadcom",
"interface": "wlan0",
"firmware": "nexmon"
},
"capture": {
"sampling_rate_hz": 2000,
"packet_types": ["beacon", "probe_response"],
"max_packets_per_second": 20000
}
},
"calibration": {
"environment": {
"room_dimensions": [10.0, 8.0, 3.0],
"reference_points": [
{"x": 0.0, "y": 0.0, "z": 1.0},
{"x": 5.0, "y": 0.0, "z": 1.0},
{"x": 0.0, "y": 4.0, "z": 1.0},
{"x": 5.0, "y": 4.0, "z": 1.0}
]
},
"antenna_positions": [
{"id": 0, "x": 0.0, "y": 0.0, "z": 2.5},
{"id": 1, "x": 0.05, "y": 0.0, "z": 2.5},
{"id": 2, "x": 0.1, "y": 0.0, "z": 2.5}
]
}
}