From dc8149ad678719f120f9b03d5b5d2a736922bd9f Mon Sep 17 00:00:00 2001 From: Cameron Thompson <50184035+iamromulan@users.noreply.github.com> Date: Sat, 16 Mar 2024 19:45:18 -0400 Subject: [PATCH] Update get_atcommand to use ttyOUT2 Using the intended AT command stream now. Should be more responsive. --- simpleadmin/www/cgi-bin/get_atcommand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simpleadmin/www/cgi-bin/get_atcommand b/simpleadmin/www/cgi-bin/get_atcommand index 0f7f9e2..150f0e6 100644 --- a/simpleadmin/www/cgi-bin/get_atcommand +++ b/simpleadmin/www/cgi-bin/get_atcommand @@ -20,7 +20,7 @@ fi MYATCMD=$(printf '%b\n' "${atcmd//%/\\x}") if [ -n "${MYATCMD}" ]; then x=$(urldecode "$atcmd") - runcmd=$(echo -en "$x\r\n" | microcom -t 2000 /dev/ttyOUT) + runcmd=$(echo -en "$x\r\n" | microcom -t 2000 /dev/ttyOUT2) fi echo "Content-type: text/plain"