mirror of
https://github.com/svpcom/wfb-ng.git
synced 2025-02-23 00:23:48 -04:00
132 lines
3.9 KiB
INI
132 lines
3.9 KiB
INI
[path]
|
||
conf_dir = '/etc'
|
||
bin_dir = '/usr/bin'
|
||
tmp_dir = '/tmp'
|
||
|
||
|
||
[common]
|
||
debug = False
|
||
version = '0.0.1.trunk'
|
||
commit = None
|
||
|
||
radio_mtu = 1446 # MAX_PAYLOAD_SIZE, don't change if doubt
|
||
mavlink_agg_timeout = 0.1 # aggragate mavlink packets if less than radio_mtu but no longer than 100ms
|
||
tx_sel_delta = 3 # hysteresis for antenna selection, [dB]
|
||
wifi_channel = 165 # radio channel @5825 MHz, range: 5815–5835 MHz, width 20MHz
|
||
wifi_region = 'BO' # Set CRDA region
|
||
|
||
|
||
[gs_mavlink]
|
||
keypair = 'gs.key' # keypair generated by wfb-keygen
|
||
stats_port = 8001 # used by wfb-cli
|
||
stream_tx = 1 # radio port for mavlink tx
|
||
stream_rx = 2 # radio port for mavlink rx
|
||
port_rx = 14600 # udp port for internal use
|
||
port_tx = 14601 # udp port range (from port_tx to port_tx + number of wlans) for internal use
|
||
|
||
peer = 'connect://127.0.0.1:14550' # outgoing connection
|
||
# peer = 'listen://0.0.0.0:14550' # incoming connection
|
||
|
||
inject_rssi = True # inject RADIO_STATUS packets
|
||
|
||
# Radio settings for TX and RX
|
||
bandwidth = 20 # bandwidth 20 or 40 MHz
|
||
|
||
# Radiotap flags for TX:
|
||
short_gi = False # use short GI or not
|
||
stbc = 1 # stbc streams: 1, 2, 3 or 0 if unused
|
||
ldpc = 0 # use LDPC FEC. Currently available only for 8812au and must be supported both on TX and RX.
|
||
mcs_index = 1 # mcs index
|
||
|
||
|
||
[gs_video]
|
||
keypair = 'gs.key' # keypair generated by wfb-keygen
|
||
stats_port = 8002 # used by wfb-cli
|
||
stream = 3 # radio port for video stream
|
||
peer = 'connect://127.0.0.1:5600' # outgoing connection for video sink (GS)
|
||
|
||
# Radio settings for RX
|
||
bandwidth = 20 # bandwidth 20 or 40 MHz
|
||
|
||
|
||
[drone_mavlink]
|
||
keypair = 'drone.key'
|
||
stats_port = None
|
||
stream_tx = 2
|
||
stream_rx = 1
|
||
port_rx = 14700
|
||
port_tx = 14701
|
||
|
||
peer = 'listen://0.0.0.0:14560' # incoming connection
|
||
#peer = 'connect://127.0.0.1:14560' # outgoing connection
|
||
|
||
inject_rssi = True # inject RADIO_STATUS packets
|
||
|
||
# Radio settings for TX and RX
|
||
bandwidth = 20 # bandwidth 20 or 40 MHz
|
||
|
||
# Radiotap flags for TX:
|
||
short_gi = False # use short GI or not
|
||
stbc = 1 # stbc streams: 1, 2, 3 or 0 if unused
|
||
ldpc = 0 # use LDPC FEC. Currently available only for 8812au and must be supported both on TX and RX.
|
||
mcs_index = 1 # mcs index
|
||
|
||
|
||
[drone_video]
|
||
keypair = 'drone.key'
|
||
stats_port = None
|
||
stream = 3
|
||
peer = 'listen://0.0.0.0:5602' # listen for video stream (drone)
|
||
|
||
# Radio settings for TX and RX
|
||
bandwidth = 20 # bandwidth 20 or 40 MHz
|
||
|
||
# Radiotap flags for TX:
|
||
short_gi = False # use short GI or not
|
||
stbc = 1 # stbc streams: 1, 2, 3 or 0 if unused
|
||
ldpc = 0 # use LDPC FEC. Currently available only for 8812au and must be supported both on TX and RX.
|
||
mcs_index = 1 # mcs index
|
||
|
||
|
||
[gs_tunnel]
|
||
keypair = 'gs.key' # keypair generated by wfb-keygen
|
||
stats_port = 8003 # used by wfb-cli
|
||
stream_tx = 4 # radio port for tunnel tx
|
||
stream_rx = 5 # radio port for tunnel rx
|
||
port_rx = 14800 # udp port for internal use
|
||
port_tx = 14801 # udp port range (from port_tx to port_tx + number of wlans) for internal use
|
||
|
||
ifname = 'gs-wfb'
|
||
ifaddr = '10.5.0.1/24'
|
||
|
||
# Radio settings for TX and RX
|
||
bandwidth = 20 # bandwidth 20 or 40 MHz
|
||
|
||
# Radiotap flags for TX:
|
||
short_gi = False # use short GI or not
|
||
stbc = 1 # stbc streams: 1, 2, 3 or 0 if unused
|
||
ldpc = 0 # use LDPC FEC. Currently available only for 8812au and must be supported both on TX and RX.
|
||
mcs_index = 1 # mcs index
|
||
|
||
|
||
[drone_tunnel]
|
||
keypair = 'drone.key'
|
||
stats_port = None
|
||
stream_tx = 5
|
||
stream_rx = 4
|
||
|
||
port_rx = 14900
|
||
port_tx = 14901
|
||
|
||
ifname = 'drone-wfb'
|
||
ifaddr = '10.5.0.2/24'
|
||
|
||
# Radio settings for TX and RX
|
||
bandwidth = 20 # bandwidth 20 or 40 MHz
|
||
|
||
# Radiotap flags for TX:
|
||
short_gi = False # use short GI or not
|
||
stbc = 1 # stbc streams: 1, 2, 3 or 0 if unused
|
||
ldpc = 0 # use LDPC FEC. Currently available only for 8812au and must be supported both on TX and RX.
|
||
mcs_index = 1 # mcs index
|