+CMS ERROR: 350 when sending sms

Hello,

I’m having trouble sending sms with an MC7304. Using

minicom -D /dev/ttyUSB1

to send sms I get the following:

at+creg?
+CREG: 0,1

OK
at+csq
+csq: 22,99

OK
at+cops?
+COPS: 0,0,"N Telenor",2

OK
at+creg?
+CREG: 0,1

OK
at+csq?
+csq: 22,99

OK
at+cmgf?
+CMGF: 1

OK
at+cpms?
+CPMS: "SM",1,12,"SM",1,12,"SM",1,12

OK
at+csca?
+CSCA: "+4790002100",145

OK
at+cmgs="47xxxxxxxx"
> Hello hello
> testing
> testing

+CMS ERROR: 350

I have also tried sending sms using smstools version 3.1.14 with the following config:

devices=GSM1
logfile=/var/log/smstools/smsd.log
loglevel=7
status_signal_quality=no

[GSM1]
#smsc=4790002100
#smsc_pdu=yes
device=/dev/ttyUSB1
incoming=no
#mode=old
#verify_pdu=yes

(the commented out statements have been tried in different combinations without any luck)

The log file contains the following after trying to send an sms:

2015-05-04 09:05:12,7, GSM1: -> AT
2015-05-04 09:05:12,7, GSM1: Command is sent, waiting for the answer
2015-05-04 09:05:12,7, GSM1: <- AT OK
2015-05-04 09:05:12,6, GSM1: Pre-initializing modem
2015-05-04 09:05:12,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2015-05-04 09:05:12,7, GSM1: Command is sent, waiting for the answer
2015-05-04 09:05:13,7, GSM1: <- ATE0+CMEE=1;+CREG=2 OK
2015-05-04 09:05:13,6, GSM1: Checking if modem needs PIN
2015-05-04 09:05:13,7, GSM1: -> AT+CPIN?
2015-05-04 09:05:13,7, GSM1: Command is sent, waiting for the answer
2015-05-04 09:05:13,7, GSM1: <- +CPIN: READY OK
2015-05-04 09:05:13,6, GSM1: Checking if Modem is registered to the network
2015-05-04 09:05:13,7, GSM1: -> AT+CREG?
2015-05-04 09:05:13,7, GSM1: Command is sent, waiting for the answer
2015-05-04 09:05:14,7, GSM1: <- +CREG: 2,1,"xxx","xxx",2 OK
2015-05-04 09:05:14,6, GSM1: Modem is registered to the network
2015-05-04 09:05:14,6, GSM1: Location area code: 5141, Cell ID: AD0F
2015-05-04 09:05:14,7, GSM1: -> AT+CSQ
2015-05-04 09:05:14,7, GSM1: Command is sent, waiting for the answer
2015-05-04 09:05:14,7, GSM1: <- +CSQ: 22,99 OK
2015-05-04 09:05:14,6, GSM1: Signal Strength Indicator: (22,99) -69 dBm (Excellent), Bit Error Rate: not known or not detectable
2015-05-04 09:05:14,6, GSM1: Selecting PDU mode
2015-05-04 09:05:14,7, GSM1: -> AT+CMGF=0
2015-05-04 09:05:14,7, GSM1: Command is sent, waiting for the answer
2015-05-04 09:05:15,7, GSM1: <- OK
2015-05-04 09:05:15,7, GSM1: -> AT+CIMI
2015-05-04 09:05:15,7, GSM1: Command is sent, waiting for the answer
2015-05-04 09:05:15,7, GSM1: <- xxx OK
2015-05-04 09:05:15,7, GSM1: -> AT+CGSN
2015-05-04 09:05:15,7, GSM1: Command is sent, waiting for the answer
2015-05-04 09:05:21,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2015-05-04 09:05:21,7, GSM1: <- xxx
2015-05-04 09:05:21,5, GSM1: CGSN: xxx
2015-05-04 09:05:21,5, GSM1: IMSI: xxx
2015-05-04 09:05:21,5, GSM1: Waiting for messages to send...
2015-05-04 09:05:21,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/test
2015-05-04 09:05:21,6, GSM1: Sending SMS from  to xxxx
2015-05-04 09:05:21,6, GSM1: Checking if modem is ready
2015-05-04 09:05:21,7, GSM1: -> AT
2015-05-04 09:05:21,7, GSM1: Command is sent, waiting for the answer
2015-05-04 09:05:21,7, GSM1: <- OK
2015-05-04 09:05:21,6, GSM1: Pre-initializing modem
2015-05-04 09:05:21,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2015-05-04 09:05:21,7, GSM1: Command is sent, waiting for the answer
2015-05-04 09:05:22,7, GSM1: <- OK
2015-05-04 09:05:22,6, GSM1: Checking if Modem is registered to the network
2015-05-04 09:05:22,7, GSM1: -> AT+CREG?
2015-05-04 09:05:22,7, GSM1: Command is sent, waiting for the answer
2015-05-04 09:05:22,7, GSM1: <- +CREG: 2,1,"xxx","xxx",2 OK
2015-05-04 09:05:22,6, GSM1: Modem is registered to the network
2015-05-04 09:05:22,6, GSM1: Selecting PDU mode
2015-05-04 09:05:22,7, GSM1: -> AT+CMGF=0
2015-05-04 09:05:22,7, GSM1: Command is sent, waiting for the answer
2015-05-04 09:05:23,7, GSM1: <- OK
2015-05-04 09:05:23,7, GSM1: -> AT+CMGS=43
2015-05-04 09:05:23,7, GSM1: Command is sent, waiting for the answer
2015-05-04 09:05:23,7, GSM1: <- >
2015-05-04 09:05:23,7, GSM1: -> xxxxx
2015-05-04 09:05:23,7, GSM1: Command is sent, waiting for the answer
2015-05-04 09:05:26,7, GSM1: <- +CMS ERROR: 350
2015-05-04 09:05:26,3, GSM1: The modem answer was not OK: +CMS ERROR: 350
2015-05-04 09:05:26,5, GSM1: Waiting 10 sec. before retrying
  • The modem can receive sms correctly
  • Another modem, Ericsson F3607GW, can send and receive sms using the same sim card
  • The service center reported by at+csca? is working on the Ericsson modem, so it must be correct

The error reported by the modem

CMS ERROR: 350

is not listed in 3GPP TS 27.007 V13.0.0 (2015-03), so I don’t really know what this means. I have checked three other topics on this forum related to this error code, but they either have no replies or their proposed solutions have not worked.

Any help would be greatly appreciated.

Hi Torgeir,

Could you please share the FW version running on your MC7304?

If the FW version running is < 5.5.22.x, suspect it was a known issue related to SMSC (+CSCA) and already corrected, please see:
http://source.sierrawireless.com/resources/airprime/software/release_notes/mc73xx_fw_build4206_release_notes

To resolve this issue, please try below options:
a) upgrade to latest FW (>= 5.5.22.0)
b) re-configure the SMSC without the “+” sign, i.e. AT+CSCA=“4790002100” for your Telenor SIM.

Hope it helps.
Thx

My firmware version is

at+gmr
SWI9X15C_05.05.16.02 r21040 carmd-fwbuild1 2014/03/17 23:49:48

so I will try to upgrade to latest version. Option b) I have already tried without any luck.

Looks like the same issue: https://forum.sierrawireless.com/t/sms-message-cms-error-350/7560/1

It seems I have the lastest firmware version for the “generic”. Only “Telstra” fw image is of a newer version. Should I use this one?

Problem solved by firmware upgrade to

at+gmr
SWI9X15C_05.05.26.02 r23773 carmd-fwbuild1 2014/08/07 21:13:26

Links:

Can you please share the SMS software you are using. Thank you