Hello world,
at first, I´m not a native english speaker, so please excuse if my question is not well explained.
I´m trying to send SMS with the Raspberry Pi 3G/4G<E Base HAT with LE910C1-EU module on a Raspberry Pi 4 with Rasbian.
I´ve tried several days to send SMS, but it failed nearly every time. Only once I get it, but I wasn´t able to repeat it. The connection to internet is working great.
What I did:
I changed wit “AT+CMGF=1” to text mode.
I had a look at the SMSC adress with “AT+CSCA?” and tried different numbers.
I tried to send with "AT+CMGS=”+4917xxxxxxx7“,145 but every time I get an error with the 331 code.
I tried with “gammu”, a small software for Raspberry Pi, there I manged to send a SMS just once, than it failed there too with the same error.
What I noticed, is that the “AT+CMGF” is allways going back to 0 (PDU mode), after I tried so send a message.
Is there something basic I didn´t undestand? I´m a liitle bit confused about the USB ports, I can access with ttyUSB2 and ttyUSB3. Is there a differents?
When I send “AT+CSMP?” command, I get : 17,173,0,0
Is this correct?
After going wild with all AT commands and a little anger, I resetet the Base Hat a couple of times with: “AT&F0”
It would be very nice if someone could help me. I hope I´m not far away from the solution. If I should give more information, please let me know.
Thank you