# Multi line sms with AT\*SMSM2M command

**URL:** <https://forum.sierrawireless.com/t/multi-line-sms-with-at-smsm2m-command/7877>\
**Category:** AirLink routers\
**Created:** [April 15, 2015, 6:15pm UTC](https://forum.sierrawireless.com/t/multi-line-sms-with-at-smsm2m-command/7877 "2015-04-15T18:15:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mangy1983](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@mangy1983](https://forum.sierrawireless.com/u/mangy1983)\
**Post date:** [April 15, 2015, 6:15pm UTC](https://forum.sierrawireless.com/t/multi-line-sms-with-at-smsm2m-command/7877/1 "2015-04-15T18:15:33Z")

</div>

Hi everyone,  
Does anyone know how to send a multi line sms with the AT\*SMSM2M command as it seems to be the only way to send sms’s with this modem.

All the examples are for a short one line message like:  
at\*smsm2m=“THIS IS A TEST” but I would like to be able to start a new line when I need to but no special characters will work and just cut the command were they are situated in the code.

I have tried  
at\*smsm2m=“THIS \r\n IS A TEST” and a few other escape character as well but none work.

How can I achieve this please?

thanks Callum

---

<div class="post-metadata">

**Author:** ![Rex\_alex](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@Rex\_alex](https://forum.sierrawireless.com/u/Rex_alex)\
**Post date:** [April 22, 2015, 6:05am UTC](https://forum.sierrawireless.com/t/multi-line-sms-with-at-smsm2m-command/7877/2 "2015-04-22T06:05:05Z")

</div>

Hi,  
which module are you using?

Thanks,  
Alex

---

<div class="post-metadata">

**Author:** ![mangy1983](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@mangy1983](https://forum.sierrawireless.com/u/mangy1983)\
**Post date:** [April 27, 2015, 10:07pm UTC](https://forum.sierrawireless.com/t/multi-line-sms-with-at-smsm2m-command/7877/3 "2015-04-27T22:07:10Z")

</div>

Hi Alex and thanks for answering,  
I am using a Raven XE 5223. I managed to get it working by converting the string to hex before it gets sent and using the at\*smsm2m\_8=“441234567890 546869730a49730a410a54657374” like so.

thanks once again Callum
