No SMS notifications once ppp up

Hi all,

I have an Siemens IoT2020 with a Sim7000e cellular board that I connect via USB to the board and connect to Telstra Cat-M1 network.

I can send and receive SMS and do so using Node-Red but can also do with Minicom etc. When connected I get :

root@iot2000:~# dmesg | grep USB
[ 2.318030] ACPI: bus type USB registered
[ 4.649537] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.664126] ehci-pci 0000:00:14.3: new USB bus registered, assigned bus number 1
[ 4.690190] ehci-pci 0000:00:14.3: USB 2.0 started, EHCI 1.00
[ 4.697598] hub 1-0:1.0: USB hub found
[ 4.705412] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.719721] ohci-pci 0000:00:14.4: new USB bus registered, assigned bus number 2
[ 4.797125] hub 2-0:1.0: USB hub found
[ 4.821630] usbserial: USB Serial support registered for generic
[ 6.075573] usbhid: USB HID core driver
[ 306.670178] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 307.026397] usbserial: USB Serial support registered for GSM modem (1-port)
[ 307.052558] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 307.064341] qmi_wwan 1-1:1.5: cdc-wdm0: USB WDM device
[ 307.101765] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 307.128055] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 307.144944] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
[ 307.162073] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB4

I have been using /dev/ttyUSB2 for ppp connection and /dev/ttyUSB3 for AT commands in node-red. Node-Red has a serial connector that I use to publish AT Commands and another to receive responses.
I did have it running so I could bring up a ppp connection and still receive sms notifications. Now however I can't receive sms notifications unless I send an AT from node-red if ppp is up although this sometimes still doesn't receive sms and if does is in PDU format. I do note that it does appear to store on Sim and can receive as soon as I killall pppd, this however does not always happen.

It also changes some settings when I bring up connection:
Prior to ppp:

AT+CMGF=1 #text mode
AT+CSCS="GSM"
Post ppp:
AT+CMGF? returns 0 (PDU mode)
AT+CSCS? returns "IRA"
If I try to change
"AT+CNMI=2,2,0,0,0 "
"+CMS ERROR: 303"
although it appears supported
"AT+CNMI=? "
"+CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)"

Could it be my options file: /etc/ppp/options-mobile
/dev/ttyUSB2
115200
lock
crtscts
modem
passive
novj
defaultroute
noipdefault
usepeerdns
noauth
hide-password
persist
holdoff 10
maxfail 0
debug
logfile /var/log/ppplog

/etc/ppp/peers/provider
file /etc/ppp/options-mobile
connect "/usr/local/sbin/chat -e -r -v -V -t15 -f /etc/ppp/chatscripts/mobile-modem.chat"

/etc/ppp/chatscripts/mobile-modem.chat
TIMEOUT 5
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' 'ATZ'
'' \rAT
TIMEOUT 30
OK 'AT+CSQ'
OK 'AT+CGDCONT = 1,"IP","telstra.m2m"'
OK 'AT+CGDCONT?'
\r \d\c
'OK' 'ATD*99#'
\r \d\c
\r \d\c
'CONNECT' ''

I realise there may be some bad configurations as I haven't touched linux for over a decade and even then wasn't great. I'm wondering if my options are creating some sort of serial connection when ppp is up and node-red can't receive as it's using some sort of serial emulator or the TE-TA connection is locked by ppp.

Any ideas?

1 Like