# Send SMS and CMS ERROR 305

**URL:** <https://forum.sierrawireless.com/t/send-sms-and-cms-error-305/3688>\
**Category:** Legacy FX/FXT series\
**Created:** [September 30, 2009, 8:34am UTC](https://forum.sierrawireless.com/t/send-sms-and-cms-error-305/3688 "2009-09-30T08:34:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jln](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@jln](https://forum.sierrawireless.com/u/jln)\
**Post date:** [September 30, 2009, 8:34am UTC](https://forum.sierrawireless.com/t/send-sms-and-cms-error-305/3688/1 "2009-09-30T08:34:48Z")

</div>

Dear all  
I’m trying to send SMS with a terminal connected to the Fastrack supreme 10 but always get the CMS ERROR 305 “Invalid text mode parameter”.  
I tried to change the text mode prameter, but no way.

Here are some traces of the AT commands I send (bold) and responses of the modem  
at+cnmi?  
+CNMI: 0,1,0,0,0  
OK  
at+csmp?  
+CSMP: 17,169,0,0  
OK  
at+cmgf=1  
OK  
at+csca?  
+CSCA: “+41794999000”,145  
OK  
at+cmgw=“+41797943078”

> hello  
> +CMGW: 1  
> OK  
> at+cmgs=1  
> +CMS ERROR: 305

at+cmgl=“ALL”  
+CMGL: 1,“STO UNSENT”,“+41797943078”,  
hello  
OK

Can anyone help me?  
Thanks  
jln

---

<div class="post-metadata">

**Author:** ![phamduong537](https://avatars.discourse-cdn.com/v4/letter/p/13edae/32.png) [@phamduong537](https://forum.sierrawireless.com/u/phamduong537)\
**Post date:** [September 30, 2009, 9:12am UTC](https://forum.sierrawireless.com/t/send-sms-and-cms-error-305/3688/2 "2009-09-30T09:12:24Z")

</div>

you try with:

AT+CMGF=1// choose text mode

AT+CMGS= //without “”

---

<div class="post-metadata">

**Author:** ![jln](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@jln](https://forum.sierrawireless.com/u/jln)\
**Post date:** [September 30, 2009, 12:14pm UTC](https://forum.sierrawireless.com/t/send-sms-and-cms-error-305/3688/3 "2009-09-30T12:14:48Z")

</div>

Thanks for the reply  
Yes, I tried, but same behaviour!  
Something strange, if If use the command +CMGS to send the SMS directly, I get an other error code (+CMS ERROR: 513)

at+cmgf=1  
OK  
at+cmgw=+41774464444

> test  
> +CMGW: 1  
> OK  
> at+cmgs=1  
> +CMS ERROR: 305  
> at+cmgl=“ALL”  
> +CMGL: 1,“STO UNSENT”,“+41774464444”,  
> test  
> OK  
> at+cmgs=+41774464444  
> hello  
> +CMS ERROR: 513

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [September 30, 2009, 1:10pm UTC](https://forum.sierrawireless.com/t/send-sms-and-cms-error-305/3688/4 "2009-09-30T13:10:23Z")

</div>

> [@jln](#):
>
> I get an other error code (+CMS ERROR: 513)

And what does that one mean?

---

<div class="post-metadata">

**Author:** ![jln](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@jln](https://forum.sierrawireless.com/u/jln)\
**Post date:** [October 1, 2009, 7:46am UTC](https://forum.sierrawireless.com/t/send-sms-and-cms-error-305/3688/5 "2009-10-01T07:46:07Z")

</div>

CMS ERROR 513 means ‘lower layer failure’. I found some explanation about it but, one ot them is the MS loses the radio link. But I can start a grps connection with the modem.  
And if I put the SIM card in a modemSiemens MC35i , with the same AT commands it works poperly…  
I have no more ideas for the moment

💡❓

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [October 1, 2009, 8:01am UTC](https://forum.sierrawireless.com/t/send-sms-and-cms-error-305/3688/6 "2009-10-01T08:01:59Z")

</div>

> [@jln](#):
>
> CMS ERROR 513 means ‘lower layer failure’.

This can be an intermittent problem; eg, if there is interference, or a (brief) drop in the signal level…

Does it succeed if you re-try?

What is the signal strength?  
Are you in an area of known poor reception?

---

<div class="post-metadata">

**Author:** ![jln](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@jln](https://forum.sierrawireless.com/u/jln)\
**Post date:** [October 1, 2009, 11:57am UTC](https://forum.sierrawireless.com/t/send-sms-and-cms-error-305/3688/7 "2009-10-01T11:57:58Z")

</div>

I don’t think it is a problem of signal, because I can receive SMS without any problem!
