summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2020-05-04 13:31:37 -0500
committerJason Reiss <jreiss@multitech.com>2020-05-04 13:31:37 -0500
commit100104ee350a0e469b348ac383486d311caaf5e5 (patch)
tree3fc4f0a3a9a8a5dee612113d260cb1cfaa0dedbb
parentf492b77b7fcb46ca504e629661b2b5fb3d9f1ef3 (diff)
downloadpacket_forwarder_mtac_full-100104ee350a0e469b348ac383486d311caaf5e5.tar.gz
packet_forwarder_mtac_full-100104ee350a0e469b348ac383486d311caaf5e5.tar.bz2
packet_forwarder_mtac_full-100104ee350a0e469b348ac383486d311caaf5e5.zip
Update lora_pkt_fwd.c : disable duty-cycle by default4.0.1-mts-7
-rw-r--r--lora_pkt_fwd/src/lora_pkt_fwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lora_pkt_fwd/src/lora_pkt_fwd.c b/lora_pkt_fwd/src/lora_pkt_fwd.c
index fa26a6e..4468e99 100644
--- a/lora_pkt_fwd/src/lora_pkt_fwd.c
+++ b/lora_pkt_fwd/src/lora_pkt_fwd.c
@@ -171,7 +171,7 @@ static char serv_port_up[8] = STR(DEFAULT_PORT_UP); /* server port for upstream
static char serv_port_down[8] = STR(DEFAULT_PORT_DW); /* server port for downstream traffic */
static int keepalive_time = DEFAULT_KEEPALIVE; /* send a PULL_DATA request every X seconds, negative = disabled */
-static bool duty_cycle_enabled = true;
+static bool duty_cycle_enabled = false;
static uint32_t duty_cycle_time_avail = 0;
static uint32_t duty_cycle_period = 3600; // seconds in one hour
static double duty_cycle_ratio = 0.10; // 10%