Update get_atcommand to use ttyOUT2
Using the intended AT command stream now. Should be more responsive.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user