# +cms : error: 315

**URL:** <https://forum.sierrawireless.com/t/cms-error-315/24270>\
**Category:** HL78\
**Created:** [July 16, 2021, 12:48pm UTC](https://forum.sierrawireless.com/t/cms-error-315/24270 "2021-07-16T12:48:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![philippe.surbayrole](https://avatars.discourse-cdn.com/v4/letter/p/ecc23a/32.png) [@philippe.surbayrole](https://forum.sierrawireless.com/u/philippe.surbayrole)\
**Post date:** [July 16, 2021, 12:48pm UTC](https://forum.sierrawireless.com/t/cms-error-315/24270/1 "2021-07-16T12:48:09Z")

</div>

Hy,

I try to send a SMS on a private lte network, but when i use the AT+CMGS command to send a SMS.  
I’ve got a ERROR 315 = SIM ERROR

```auto
AT+CMGS=0123456789
>Hello
+CMS ERROR: 315

```

I use text format SMS (AT+CMGF=1)

The Sim card used was a sysmocom with SMS capability.  
I be able to receive SMS

How I could investigate (log, configuration) ?

---

<div class="post-metadata">

**Author:** ![Donald](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@Donald](https://forum.sierrawireless.com/u/Donald)\
**Post date:** [July 17, 2021, 2:05am UTC](https://forum.sierrawireless.com/t/cms-error-315/24270/2 "2021-07-17T02:05:00Z")

</div>

Hi @philippe.surbayrole

Can this SIM card send and receive SMS on another device or phone?  
Which firmware version are you using? If you are not on the latest firmware, please download the latest one and retry.  
[HL78xx (HL7800/HL7800-M/HL7802) Firmware](https://source.sierrawireless.com/resources/airprime/software/hl7800-firmware/hl78xx-firmware/#sthash.kIe6loXL.dpbs)

I can send and receive SMS successfully on HL78XX firmware HL7800.4.6.8.0  
ati3

HL7800.4.6.8.0

OK  
at+csca?

+CSCA: “0690006000”,129

OK  
at+cimi

001010000000007

OK  
AT+CMGF=1

OK  
AT+CMGS=“0600000007”

> HELLO  
> +CMGS: 89

OK

+CMTI: “ME”,1  
AT+CMGS=0600000007

> HELLO2  
> +CMGS: 90

OK

+CMTI: “ME”,2

---

<div class="post-metadata">

**Author:** ![philippe.surbayrole](https://avatars.discourse-cdn.com/v4/letter/p/ecc23a/32.png) [@philippe.surbayrole](https://forum.sierrawireless.com/u/philippe.surbayrole)\
**Post date:** [October 4, 2021, 1:23pm UTC](https://forum.sierrawireless.com/t/cms-error-315/24270/3 "2021-10-04T13:23:48Z")

</div>

I’ve restart working on this SMS problem.

We use SysmoCom SIM card with Amarisoft network.

My parameters seems good :

```auto
AT+CSCA?
+CSCA: "+33689004000",145
OK
AT+CIMI
208930000024016
OK

```

But I’ve always CMS ERROR 315 when I send SMS.  
Is there specific parameters to set in Sim card ?  
And how to found what generate the “CMS ERROR 315” in the HL78 ?

---

<div class="post-metadata">

**Author:** ![mlw](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/mlw/32/3706_2.png) [@mlw](https://forum.sierrawireless.com/u/mlw)\
**Post date:** [October 5, 2021, 12:30pm UTC](https://forum.sierrawireless.com/t/cms-error-315/24270/4 "2021-10-05T12:30:11Z")

</div>

@philippe.surbayrole

What unit and firmware are you using? Also what bearer are you on? 2G with HL7802 yes it should work, M1 maybe, NB1 it won’t work (as there is no SMS on M1).

Regards

Matt

---

<div class="post-metadata">

**Author:** ![philippe.surbayrole](https://avatars.discourse-cdn.com/v4/letter/p/ecc23a/32.png) [@philippe.surbayrole](https://forum.sierrawireless.com/u/philippe.surbayrole)\
**Post date:** [October 5, 2021, 1:01pm UTC](https://forum.sierrawireless.com/t/cms-error-315/24270/5 "2021-10-05T13:01:46Z")

</div>

Hy Matt

We use the 4.6.8 firmware on LTEM CAT-M1 network.  
We receive the SMS but I can’t send.

I search why the sierra HL78 make this CMS ERROR 315 !

---

<div class="post-metadata">

**Author:** ![mlw](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/mlw/32/3706_2.png) [@mlw](https://forum.sierrawireless.com/u/mlw)\
**Post date:** [October 5, 2021, 1:32pm UTC](https://forum.sierrawireless.com/t/cms-error-315/24270/6 "2021-10-05T13:32:44Z")

</div>

@philippe.surbayrole

So the errors are found in the back of the [AT command manual](https://source.sierrawireless.com/resources/airprime/software/airprime_hl78xx_at_commands_interface_guide/#sthash.bCsjiHGb.dpbs). I am looking at rev 14 page 273 and it states.

`315 SIM wrong`

So it might be that your SIM does not have the right to send SMS?

Regards

Matt

---

<div class="post-metadata">

**Author:** ![philippe.surbayrole](https://avatars.discourse-cdn.com/v4/letter/p/ecc23a/32.png) [@philippe.surbayrole](https://forum.sierrawireless.com/u/philippe.surbayrole)\
**Post date:** [October 5, 2021, 1:49pm UTC](https://forum.sierrawireless.com/t/cms-error-315/24270/7 "2021-10-05T13:49:16Z")

</div>

That’s the problem !  
I’ve configured the parameters on the SIM to be able to send SMS. and SysmoCom Sim card are able to send SMS ( dixit specifications )  
Wich SIM parameters are wrong for the HL78 and how to know ?
