From 0ba11578c6e1ff768ac74ee739050f56392987ba Mon Sep 17 00:00:00 2001 From: Tom Early Date: Sun, 27 Jan 2019 13:58:28 -0700 Subject: [PATCH] fixes for rx_level --- QnetDVRPTR.cpp | 4 ++-- defaults | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/QnetDVRPTR.cpp b/QnetDVRPTR.cpp index fd92bbb..4f48398 100644 --- a/QnetDVRPTR.cpp +++ b/QnetDVRPTR.cpp @@ -1884,13 +1884,13 @@ static bool read_config(const char *cfgFile) cfg.GetValue(path+"_serial_number", type, DVRPTR_SERIAL, 11, 11); - cfg.GetValue(path+"_rf_rx_level", type, RF_AUDIO_Level, 1, 100); + cfg.GetValue(path+"_rx_level", type, RF_AUDIO_Level, 1, 100); cfg.GetValue(path+"_duplex", type, DUPLEX); cfg.GetValue(path+"_acknowledge", type, RPTR_ACK); - cfg.GetValue(path+".ack_delay", type, ACK_DELAY, 1, 999); + cfg.GetValue(path+"_ack_delay", type, ACK_DELAY, 1, 999); cfg.GetValue(path+"_tx_delay", type, TX_DELAY, 0, 6000); Modem_Init2[8] = TX_DELAY & 0xFF; diff --git a/defaults b/defaults index 9e8172e..d1d4d46 100644 --- a/defaults +++ b/defaults @@ -130,7 +130,7 @@ dvap_serial_number='APXXXXXX' # The serial number of your DVAP is visible throug dvrptr_serial_number='00.00.00.00' # the DVRPTR serial number dvrptr_rf_on='RFON' # put this in YRCALL to disable the channel dvrptr_rf_off='RFOFF' # put this in YRCALL to enable the channel -dvrptr_rf_rx_level=80 # see the DVRPTR V1 manual +dvrptr_rx_level=80 # see the DVRPTR V1 manual dvrptr_duplex=false # set to true if the module is duplex dvrptr_tx_delay=250 # milliseconds to allow for switching from rx to tx dvrptr_rqst_count=10 # number of 2-sec intervals before the an unresponsive system is killed