increase time to wait for modem to settle
1 files changed, 2 insertions(+), 2 deletions(-) M lib/text.sh
M lib/text.sh => lib/text.sh +2 -2
@@ 6,7 6,7 @@ recieving() { RECIEVE_ME="$1" echo "$RECIEVE_ME" | ./go-sendxmpp "$PHONE_NUM@cheogram.com" sleep 4s sleep 8s tail -n 2 "$XDG_DATA_HOME/sxmo/modem/$CHEOGRAM_NUM/sms.txt" | head -n 1 } @@ 15,6 15,6 @@ sending() { SEND_ME="$1" sxmo_modemsendsms.sh "$CHEOGRAM_NUM" "$SEND_ME" > /dev/null sleep 4s # wait for go-sendxmpp to receive the message sleep 8s # wait for go-sendxmpp to receive the message tail -n 1 /tmp/recv }