summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-12-28 12:57:50 -0600
committerJohn Klug <john.klug@multitech.com>2021-12-29 07:23:49 -0600
commitac1ebaa3f9518484529bc58283ae7b41efe37ac6 (patch)
tree40f5d5eda1ec14c71d86c350340fc9714e7c01bf
parentd8d0e02c6c899250ae9285d1e16b73819fd070cc (diff)
downloadmeta-mlinux-ac1ebaa3f9518484529bc58283ae7b41efe37ac6.tar.gz
meta-mlinux-ac1ebaa3f9518484529bc58283ae7b41efe37ac6.tar.bz2
meta-mlinux-ac1ebaa3f9518484529bc58283ae7b41efe37ac6.zip
Fix Voice Disable parameter for Quectel modems
-rwxr-xr-xrecipes-core/multitech/config/chat_wrapper2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/multitech/config/chat_wrapper b/recipes-core/multitech/config/chat_wrapper
index 42e7507..9aae971 100755
--- a/recipes-core/multitech/config/chat_wrapper
+++ b/recipes-core/multitech/config/chat_wrapper
@@ -187,7 +187,7 @@ function set_quectel_dataonly
result=$?
if ((result == 0)) ; then
if [[ $vc =~ QNVR:[[:space:]]\"*([0-9]+)\" ]] ; then
- if [[ ${BASH_REMATCH[1]} != 010102000000000000 ]] ; then
+ if [[ ${BASH_REMATCH[1]} != 0102000000000000 ]] ; then
${LOG} "Attempting to set sms to 01"
vc=$(radio-cmd ${RADIOOPTION} -t10000 'AT+QNVW=5280,0,"0102000000000000"' 2>&1)
result1=$?