-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
78 lines (58 loc) · 2.67 KB
/
Copy path.env.example
File metadata and controls
78 lines (58 loc) · 2.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Rohde & Schwarz CMW500 MCP Server Configuration
# Copy this file to .env and adjust values for your setup
# =============================================================================
# Connection Settings
# =============================================================================
# Default CMW500 host IP address
CMW_DEFAULT_HOST=127.0.0.1
# Default TCP port for SCPI socket server
# CMW500 uses port 5025
CMW_DEFAULT_PORT=5025
# TCP connection timeout in seconds
CMW_CONNECTION_TIMEOUT=5.0
# SCPI command timeout in seconds
# Increase for long operations like LTE measurements
CMW_COMMAND_TIMEOUT=30.0
# =============================================================================
# Safety Limits
# =============================================================================
# These limits protect your equipment and device under test (DUT) from damage.
# The server will reject commands that exceed these limits.
# Maximum generator output power in dBm
# Default 0 dBm is conservative for most DUT testing
# LOWER this for sensitive devices
CMW_MAX_GENERATOR_POWER_DBM=0
# Minimum generator power in dBm
CMW_MIN_GENERATOR_POWER_DBM=-130
# Maximum expected power for analyzer in dBm
# Set based on your DUT's maximum TX power
CMW_MAX_EXPECTED_POWER_DBM=33
# Maximum frequency in Hz (6 GHz for CMW500)
CMW_MAX_FREQUENCY_HZ=6000000000
# Minimum frequency in Hz (70 MHz for CMW500 GPRF)
CMW_MIN_FREQUENCY_HZ=70000000
# =============================================================================
# Bench profile & artifact directories
# =============================================================================
# Per-unit bench profile JSON auto-loaded at start (connection, safety limits,
# RF routing map, external attenuation, expected licenses). Empty = none.
CMW_PROFILE_FILE=
# Directories for on-disk artifacts (created on demand).
CMW_PROFILE_DIR=./cmw_profiles
CMW_TESTPLAN_DIR=./cmw_testplans
CMW_REPORT_DIR=./cmw_reports
# Optional path to a JSON file of named LTE band-selection presets.
CMW_BAND_PRESETS_FILE=
# =============================================================================
# Logging
# =============================================================================
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
CMW_LOG_LEVEL=INFO
# =============================================================================
# Security
# =============================================================================
# Allow raw SCPI command execution (default: false)
# WARNING: Enabling this bypasses safety checks. Only enable for advanced use.
CMW_ALLOW_RAW_SCPI=false
# Automatically drain the SCPI error queue after raw commands (default: false)
CMW_AUTO_ERROR_CHECK=false