-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.conf
58 lines (48 loc) · 1.52 KB
/
config.conf
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
# bind address for a server
bind_address="127.0.0.1"
# port for a server
port=8091
# buffer size for passing the data from SDR
# same buffer setting for passing data between threads
# the bigger buffer the less context switching, but
# bigger latency for RF messages
buffer_size=131072
# if client requests to save output locally, then
# the base path controls the directory where it is saved
# tmp directory is recommended
base_path="/tmp/"
# timeout for reading client's requests
# in seconds
# should be positive
read_timeout_seconds=10
# SDR for receiving the data. Supported values are:
# - "sdr-server"
# - "plutosdr"
# - "file"
rx_sdr_type="sdr-server"
# SDR for transmitting the data. Supported values are:
# - "none"
# - "plutosdr". This would require libiio installed.
# - "file"
tx_sdr_type="none"
# plutosdr-specific settings
# tx gain. This passed as-is to "hardwaregain" parameter
# default is 0.0
tx_plutosdr_gain=0.0
# timeout while communicating with the device
# default is 10 seconds (10000)
tx_plutosdr_timeout_millis=10000
# rx gain. This passed as-is to "hardwaregain" parameter
# default is 0.0
rx_plutosdr_gain=0.0
# sdr server connection details
rx_sdr_server_address="127.0.0.1"
rx_sdr_server_port=8090
# file connection details
rx_file_base_path="/tmp/"
tx_file_base_path="/tmp/"
# number of elements in the DSP queue
# the more queue, the better performance spikes handled
# the less queue, the better latency and memory consumption
# total memory = queue_size * buffer_size * number_of_clients
queue_size=64