Add correct option to rtl_wmbus for flow checking.

pull/1015/head
Fredrik Öhrström 2023-08-16 18:07:34 +02:00
rodzic bd0747eefe
commit 81505354fc
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -161,11 +161,11 @@ shared_ptr<BusDevice> openRTLWMBUS(Detected detected,
{
if (!force_freq)
{
command = rtl_sdr+" "+ppm+" -d "+to_string(id)+" -f "+freq+" -s 1.6e6 - 2>/dev/null | "+rtl_wmbus+" -s";
command = rtl_sdr+" "+ppm+" -d "+to_string(id)+" -f "+freq+" -s 1.6e6 - | "+rtl_wmbus+" -s -f";
}
else
{
command = rtl_sdr+" "+ppm+" -d "+to_string(id)+" -f "+freq+" -s 1.6e6 - 2>/dev/null | "+rtl_wmbus;
command = rtl_sdr+" "+ppm+" -d "+to_string(id)+" -f "+freq+" -s 1.6e6 - | "+rtl_wmbus+" -f";
}
}
verbose("(rtlwmbus) using command: %s\n", command.c_str());