fix wfb configs

pull/458/head
cronyx 2022-09-13 13:04:58 +03:00
parent 5d0a631104
commit f33675a1a0
4 changed files with 8 additions and 8 deletions

View File

@ -36,7 +36,7 @@ load_interface() {
}
start_wfb() {
wfb_tx -p ${radio_port} -u ${udp_port} -K ${keydir}/drone.key -B ${bandwidth} -M ${mcs_index} -S ${stbc} -L ${ldpc} -G ${guard_interval} -k ${fec_k} -n ${fec_n} -T ${fec_timeout} -i ${stream} -e ${epoch} ${wlan} &
wfb_tx -p ${stream} -u ${udp_port} -K ${keydir}/drone.key -B ${bandwidth} -M ${mcs_index} -S ${stbc} -L ${ldpc} -G ${guard_interval} -k ${fec_k} -n ${fec_n} -T ${fec_timeout} -i ${link_id} -e ${epoch} ${wlan} &
}
case "$1" in

View File

@ -13,9 +13,9 @@ start_telemetry() {
ln -s /usr/bin/wfb_tx /usr/bin/telemetry_tx ; chmod +x /usr/bin/telemetry_tx
else
if [ ${one_way} = "false" ]; then
telemetry_rx -p ${radio_port} -u ${port_rx} -K ${keydir}/drone.key -k ${fec_k} -n ${fec_n} -i ${stream_rx} ${wlan} &
telemetry_rx -p ${stream_rx} -u ${port_rx} -K ${keydir}/drone.key -k ${fec_k} -n ${fec_n} -i ${link_id} ${wlan} &
fi
telemetry_tx -p ${radio_port} -u ${port_tx} -K ${keydir}/drone.key -B ${bandwidth} -M ${mcs_index} -S ${stbc} -L ${ldpc} -G ${guard_interval} -k ${fec_k} -n ${fec_n} -T ${fec_timeout} -i ${stream_tx} ${wlan} &
telemetry_tx -p ${stream_tx} -u ${port_tx} -K ${keydir}/drone.key -B ${bandwidth} -M ${mcs_index} -S ${stbc} -L ${ldpc} -G ${guard_interval} -k ${fec_k} -n ${fec_n} -T ${fec_timeout} -i ${link_id} ${wlan} &
fi
}

View File

@ -3,9 +3,9 @@ bandwidth=20
stbc=1
ldpc=1
mcs_index=1
radio_port=0
stream_rx=0x90
stream_tx=0x10
stream_rx=144
stream_tx=16
link_id=7669206
port_rx=14700
port_tx=14701
fec_k=1

View File

@ -9,8 +9,8 @@ bandwidth=20
stbc=1
ldpc=1
mcs_index=1
radio_port=0
stream=0x0
stream=0
link_id=7669206
epoch=0
udp_port=5600
fec_k=8