diff options
author | Jeff Hatch <jhatch@multitech.com> | 2021-12-23 08:48:17 -0600 |
---|---|---|
committer | Jeff Hatch <jhatch@multitech.com> | 2021-12-23 08:48:17 -0600 |
commit | be0069adf8794e129cd5b01d4b1052677136d82c (patch) | |
tree | 35dc835a889a34809d1721bc1fc7d06db93b3f61 /recipes-core/multitech/config/chat_wrapper | |
parent | 1f060beda52daf8ee1d6fab74cad518bec7f1144 (diff) | |
parent | c68d4d88a538f364dfd28db155fc3f2d5e6f3cac (diff) | |
download | meta-mlinux-be0069adf8794e129cd5b01d4b1052677136d82c.tar.gz meta-mlinux-be0069adf8794e129cd5b01d4b1052677136d82c.tar.bz2 meta-mlinux-be0069adf8794e129cd5b01d4b1052677136d82c.zip |
Merge branch 'ap/MTX-4274' into 6
This merge brings in to the 6 branch all the updates for the hardware
parts shortage new hardware versions for MTR and Conduit.
Diffstat (limited to 'recipes-core/multitech/config/chat_wrapper')
-rwxr-xr-x | recipes-core/multitech/config/chat_wrapper | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-core/multitech/config/chat_wrapper b/recipes-core/multitech/config/chat_wrapper index 8c2edcc..a693661 100755 --- a/recipes-core/multitech/config/chat_wrapper +++ b/recipes-core/multitech/config/chat_wrapper @@ -338,9 +338,10 @@ else cops=$(/usr/bin/radio-cmd ${RADIOOPTION} -t10000 'AT+COPS?') result0=$? - if ((result0 != 0)) || ! [[ $cops =~ ^\+COPS:\ 0, ]] ; then + if ((result0 != 0)) || ! [[ $cops =~ ^\+COPS:[[:space:]]0[,[:space:]] ]] ; then /usr/bin/radio-cmd ${RADIOOPTION} -t10000 'AT+COPS=0' ((WAITREG++)) + ${LOG} "Cops status was $cops" ${LOG} "Just set COPS=0 so wait ${COPSWAIT} seconds" sleep ${COPSWAIT} fi |