# Problem with SMS sending

**URL:** <https://forum.sierrawireless.com/t/problem-with-sms-sending/2348>\
**Category:** Open AT\
**Created:** [July 22, 2008, 11:09am UTC](https://forum.sierrawireless.com/t/problem-with-sms-sending/2348 "2008-07-22T11:09:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SCS](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@SCS](https://forum.sierrawireless.com/u/SCS)\
**Post date:** [July 22, 2008, 11:09am UTC](https://forum.sierrawireless.com/t/problem-with-sms-sending/2348/1 "2008-07-22T11:09:53Z")

</div>

HI All,

I am having problem while sending SMS on the wavecom module .  
i used the function adl\_smsSend to send sms but there was no response

i used this function whose prototype is s8 adl\_smsSend(u8 handle,ascii \* smsTel,ascii \*smsText,u8 Mode) as

EX: adl\_smsSend(sms\_handle,(ascii \*)9982336677,“sms testing”,ADL\_SMS\_MODE\_TEXT);

But it didnt work.  
I doubt the second and third arguments format.

Plz help.

---

<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:** [July 22, 2008, 11:38am UTC](https://forum.sierrawireless.com/t/problem-with-sms-sending/2348/2 "2008-07-22T11:38:00Z")

</div>

> [@SCS](#):
>
> EX: adl\_smsSend(sms\_handle,(ascii \*)9982336677,“sms testing”,ADL\_SMS\_MODE\_TEXT);.

The phone number needs to be passed as a string:

```auto
adl_smsSend( sms_handle, "9982336677", "sms testing", ADL_SMS_MODE_TEXT );
```

Also, be sure to check the return value from the call, and the ensuing events…

---

<div class="post-metadata">

**Author:** ![SCS](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@SCS](https://forum.sierrawireless.com/u/SCS)\
**Post date:** [July 24, 2008, 9:12am UTC](https://forum.sierrawireless.com/t/problem-with-sms-sending/2348/3 "2008-07-24T09:12:19Z")

</div>

Thank you awneil.The problem got solved.
