MC7304: +CMS ERROR: 350 when trying to send SMS

Hi,

I’m using a MC7304 in an embedded Linux system. When trying to send a SMS in text mode with AT commands, it fails with “Error 350”. I tried to look up this error but didn’t find anything. How to debug it?

When I’m using smstools to send the SMS in PDU mode, it fails with the same error.

Am I missing something?

Thanks, Patrick

root@Moxa:~# picocom /dev/ttyUSB2 -c --omap lfcr
picocom v1.7[...]
Terminal ready
AT

OK
AT+GMR

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

OK
AT+CREG?

+CREG: 2,1,"FFFE","01F50201",7

OK
AT+CSQ

+CSQ: 16,99

OK
AT+CMGF=1

OK
AT+CSCS="GSM"

OK
AT+CMGS="+491791234567",145

> Test

> 

+CMS ERROR: 350

Patrick,

Unfortunately this is a catch all error which is not helpful so debugging it is very dificult, however, first thing I would do is upgrade the firmware on your unit, it is extremely old. 5.5.67 is the generically recommended version, it can be found at the link below.

https://source.sierrawireless.com/resources/airprime/software/airprime-mc73xx-fw-package-build-4544/

Regards

Matt

With the recommended firmware version the error is the same:

root@Moxa:~# picocom /dev/ttyUSB2 -c --omap lfcr
picocom v1.7[...]

Terminal ready
AT

OK
AT+GMR

SWI9X15C_05.05.67.00 r31378 CARMD-EV-FRMWR1 2016/03/11 14:58:53

OK
AT+CPIN="1234"

OK

^MODE: 9
ATE0+CMEE=1;+CREG=2

OK
AT+CREG?

+CREG: 2,1,"FFFE","01F50201",7

OK
AT+CSQ

+CSQ: 16,99

OK
AT+CMGF=1

OK
AT+CSCS="GSM"

OK
AT+CMGS="+491791234567",145

> Test

> 

+CMS ERROR: 350

By the way, the firmware update sort of failed (but then the version seemed to be updated anyway …?)

root@Moxa:~/sms# ./fwdldarm -s /root/sms/slqssdk -d g3k -p /root/sms/cwe
Detecting USB of the target
DONE
Downloading Firmware. . . . . . . . . . . . . . . . . . . . . . . . .
Firmware Not Downloaded
Device Ready
ERROR: Firmware Upgrade Failed!!!

Please advise.

Thanks, Patrick

Patrick,

Try the below switches

-d 9x15 -m 0

Regards

Matt

With the provided switches, the firmware update succeeds, thank you.
However I still get the 350 error when trying to send SMS, even though the firmware is updated.

Any idea how to fix this?

Thanks, Patrick

root@Moxa:~# picocom /dev/ttyUSB2 -c --omap lfcr
picocom v1.7
Terminal ready[...]
AT

OK
AT+GMR

SWI9X15C_05.05.67.00 r31378 CARMD-EV-FRMWR1 2016/03/11 14:58:53

OK
AT+CPIN="1234"

OK
ATE0+CMEE=1;+CREG=2

OK

^MODE: 9
AT+CREG?

+CREG: 2,1,"FFFE","01F50201",7

OK
AT+CSQ

+CSQ: 17,99

OK
AT+CMGF=1

OK
AT+CSCS="GSM"

OK
AT+CMGS="+491791234567",145

> Test

> 

+CMS ERROR: 350

Patrick,

Have you tried with a different SIM card?

Can you send the following to the unit just as a bit of background information?

ati
at+creg?
at+cgreg?
at+cops?
at+csq

Regards

Matt

Ok, with a different SIM card (by the same cell provider) the sending of SMS is working …