# Calling Custom AT Command

**URL:** <https://forum.sierrawireless.com/t/calling-custom-at-command/846>\
**Category:** Open AT\
**Created:** [November 9, 2006, 10:56am UTC](https://forum.sierrawireless.com/t/calling-custom-at-command/846 "2006-11-09T10:56:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![clemence](https://avatars.discourse-cdn.com/v4/letter/c/4af34b/32.png) [@clemence](https://forum.sierrawireless.com/u/clemence)\
**Post date:** [November 9, 2006, 10:56am UTC](https://forum.sierrawireless.com/t/calling-custom-at-command/846/1 "2006-11-09T10:56:07Z")

</div>

I have created a custom at command

```auto
AT+FTPCFG
```

and I have tested it over serial connection [works fine].

I want to be able to call this command from within my application. I have tried

```auto
adl_cmdCreate
```

but didn’t work and after going through the manual I think

```auto
adl_cmdCreate
```

works with standard AT commands only.

Anyone knows how to call a custom AT command from within ADL application?

Thanks

---

<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:** [November 9, 2006, 11:05am UTC](https://forum.sierrawireless.com/t/calling-custom-at-command/846/2 "2006-11-09T11:05:25Z")

</div>

Hi Clemence,

When you create a custom command, you do specify a call back function, right? I think you should be able to call this directly from your application…

Best Regards,  
Jan

---

<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:** [November 9, 2006, 12:15pm UTC](https://forum.sierrawireless.com/t/calling-custom-at-command/846/3 "2006-11-09T12:15:59Z")

</div>

I agree with Jan - you’ve created this custom AT command, so just call its implementation directly!

---

<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:** [November 10, 2006, 4:27pm UTC](https://forum.sierrawireless.com/t/calling-custom-at-command/846/4 "2006-11-10T16:27:47Z")

</div>

I have the similiar question…

Actually when you subscribe an AT command, the OpenAT’s command PreParser will help to “analyse” the incoming command content (ACT, PARA, etc), count parameters and put all info into the structure (adl\_atCmdPreParser\_t).

But I want the "AT command " not coming from serial port, maybe from SMS; so I can pass a string as AT command to the preparser.

Or anybody can write a function to perform this job ?
