From 28efbe726468bf1d19021c0e03a2806c51cb6832 Mon Sep 17 00:00:00 2001 From: Yasin Kaya Date: Wed, 25 Nov 2020 15:02:00 +0300 Subject: [PATCH] Fixed bug on modem mode configuration --- src/configure_modem.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/configure_modem.sh b/src/configure_modem.sh index 7b272a0..2196842 100644 --- a/src/configure_modem.sh +++ b/src/configure_modem.sh @@ -96,11 +96,11 @@ if [[ $IS_QUECTEL -eq 0 ]]; then # For Telit elif [[ $IS_TELIT -eq 0 ]]; then - atcom "AT#USBCFG?" | grep 4 >> /dev/null + atcom "AT#USBCFG?" | grep 0 >> /dev/null if [[ $? -ne 0 ]]; then - atcom "AT#USBCFG=4" - debug "ECM mode is activated." + atcom "AT#USBCFG=0" + debug "PPP mode is activated." debug "Modem restarting..." sleep 20