# Calling my oun AT command from my application

**URL:** <https://forum.sierrawireless.com/t/calling-my-oun-at-command-from-my-application/1363>\
**Category:** Open AT\
**Created:** [June 5, 2007, 11:22am UTC](https://forum.sierrawireless.com/t/calling-my-oun-at-command-from-my-application/1363 "2007-06-05T11:22:59Z")\
**Posts on this page:** 5\
**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:** [June 5, 2007, 11:22am UTC](https://forum.sierrawireless.com/t/calling-my-oun-at-command-from-my-application/1363/1 "2007-06-05T11:22:59Z")

</div>

Hi, All!

I created my oun at command with

```auto
adl_atCmdSubscribe
```

.  
Can i call this AT command from my application using

```auto
adl_atCmdCreate
```

?

By!

---

<div class="post-metadata">

**Author:** ![jan](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@jan](https://forum.sierrawireless.com/u/jan)\
**Post date:** [June 5, 2007, 11:57am UTC](https://forum.sierrawireless.com/t/calling-my-oun-at-command-from-my-application/1363/2 "2007-06-05T11:57:00Z")

</div>

Hi amat79,

no, you can’t!

Why don’t you just call the function behind it? It’s in your code!!

Best Regards,  
Jan

---

<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:** [June 5, 2007, 12:50pm UTC](https://forum.sierrawireless.com/t/calling-my-oun-at-command-from-my-application/1363/3 "2007-06-05T12:50:58Z")

</div>

Hi, Jan!

I want to recive sms with different at-commands and execute them on my module. If sms contains standart at-commands everything works. If it contains my oun at-commands nothing happens. So, i must parce sms text, find my at-commands and call command handler.

By!

---

<div class="post-metadata">

**Author:** ![jan](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@jan](https://forum.sierrawireless.com/u/jan)\
**Post date:** [June 5, 2007, 1:02pm UTC](https://forum.sierrawireless.com/t/calling-my-oun-at-command-from-my-application/1363/4 "2007-06-05T13:02:04Z")

</div>

Hmmm. I understand… It’s indeed not that easy in your case. But I am pretty sure that this problem was already discussed on this forum quite a while ago, and that the result was that it does not work to call the self-defined commands with adl\_atCmdCreate()… (sorry…)

Best Regards,  
Jan

---

<div class="post-metadata">

**Author:** ![Wallace](https://avatars.discourse-cdn.com/v4/letter/w/b4bc9f/32.png) [@Wallace](https://forum.sierrawireless.com/u/Wallace)\
**Post date:** [June 5, 2007, 1:38pm UTC](https://forum.sierrawireless.com/t/calling-my-oun-at-command-from-my-application/1363/5 "2007-06-05T13:38:32Z")

</div>

Yep, I had also been troubled with implementing such (AT command over SMS) feature

I used quite a lot effort to write codes to “digest” SMS string to build the “adl\_atCmdPreParser\_t” strcut for my command handlers, still not able to remake completely the same…
