# Problem with reciving SMS

**URL:** <https://forum.sierrawireless.com/t/problem-with-reciving-sms/1044>\
**Category:** Open AT\
**Created:** [January 28, 2007, 2:45pm UTC](https://forum.sierrawireless.com/t/problem-with-reciving-sms/1044 "2007-01-28T14:45:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amat79](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@amat79](https://forum.sierrawireless.com/u/amat79)\
**Post date:** [January 28, 2007, 2:45pm UTC](https://forum.sierrawireless.com/t/problem-with-reciving-sms/1044/1 "2007-01-28T14:45:11Z")

</div>

Hi, All!  
I tryed to recive SMS with my OpenAT application and wrote such code:

```auto
(skip)
.......
sms_Handle = adl_smsSubscribe ( SMS_Handler,
                                        SMS_ctrl_Handler,
                                        ADL_SMS_MODE_TEXT );
.......
(skip)

void SMS_ctrl_Handler ( u8 Event, u16 Nb )
{
(skip)
}

bool SMS_Handler(ascii *SmsTel, ascii *SmsTimeOrLength, ascii *SmsText)
{
         adl_atSendResponse ( ADL_AT_UNS, "Incoming SMS!\n\r");
          return FALSE;
}
```

When I send SMS to my Q2686H function SMS\_Handler doesn’t execute, but using AT-commands I found my incoming SMS marked as “REC READ”. What’s wrong in my code?
