From 763b8c6802393235e8681987179ef374184d67d2 Mon Sep 17 00:00:00 2001 From: Yasin Kaya Date: Thu, 26 Nov 2020 11:22:36 +0000 Subject: [PATCH] Changed power up sleep time to fix power up issue on reconnect scripts --- src/reconnect_scripts/reconnect_cellulariot | 2 +- src/reconnect_scripts/reconnect_cellulariot_app | 2 +- src/reconnect_scripts/reconnect_gprsshield | 2 +- src/reconnect_scripts/reconnect_tracker | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/reconnect_scripts/reconnect_cellulariot b/src/reconnect_scripts/reconnect_cellulariot index 300d4ff..dce0948 100644 --- a/src/reconnect_scripts/reconnect_cellulariot +++ b/src/reconnect_scripts/reconnect_cellulariot @@ -23,7 +23,7 @@ function power_up_module() gpio -g write $POWERKEY 1 sleep 2 gpio -g write $POWERKEY 0 - sleep 2 + sleep 5 if [[ $(gpio -g read $STATUS) -eq 0 ]]; then debug "Module is powered up." diff --git a/src/reconnect_scripts/reconnect_cellulariot_app b/src/reconnect_scripts/reconnect_cellulariot_app index f2391f5..83173c8 100644 --- a/src/reconnect_scripts/reconnect_cellulariot_app +++ b/src/reconnect_scripts/reconnect_cellulariot_app @@ -24,7 +24,7 @@ function power_up_module() gpio -g write $POWERKEY 1 sleep 2 gpio -g write $POWERKEY 0 - sleep 2 + sleep 5 if [[ $(gpio -g read $STATUS) -eq 0 ]]; then debug "Module is powered up." diff --git a/src/reconnect_scripts/reconnect_gprsshield b/src/reconnect_scripts/reconnect_gprsshield index ca12a04..50fbdec 100644 --- a/src/reconnect_scripts/reconnect_gprsshield +++ b/src/reconnect_scripts/reconnect_gprsshield @@ -24,7 +24,7 @@ function power_up_module() gpio -g write $POWERKEY 1 sleep 2 gpio -g write $POWERKEY 0 - sleep 2 + sleep 5 if [[ $(gpio -g read $STATUS) -eq 0 ]]; then debug "Module is powered up." diff --git a/src/reconnect_scripts/reconnect_tracker b/src/reconnect_scripts/reconnect_tracker index cb78212..11b2300 100644 --- a/src/reconnect_scripts/reconnect_tracker +++ b/src/reconnect_scripts/reconnect_tracker @@ -24,7 +24,7 @@ function power_up_module() gpio -g write $POWERKEY 1 sleep 2 gpio -g write $POWERKEY 0 - sleep 2 + sleep 5 if [[ $(gpio -g read $STATUS) -eq 0 ]]; then debug "Module is powered up."