# Adl\_main() Problem

**URL:** <https://forum.sierrawireless.com/t/adl-main-problem/5505>\
**Category:** Open AT\
**Created:** [March 12, 2012, 12:29pm UTC](https://forum.sierrawireless.com/t/adl-main-problem/5505 "2012-03-12T12:29:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![asem84](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@asem84](https://forum.sierrawireless.com/u/asem84)\
**Post date:** [March 12, 2012, 12:29pm UTC](https://forum.sierrawireless.com/t/adl-main-problem/5505/1 "2012-03-12T12:29:11Z")

</div>

Hello,

I have 2 problems.

The first is that i want use the adl\_main function for do a machine state in developer studio 2.1 and i’m trying but i think that i’m following the wrong steps. Could someone tell me the corrects steps? ❓😢

The other problem is that i have an old code with the adl\_main function implemented but when i try to build this, i have this error: Required package 7.45. (i have the firmware 7.46) how can I solve this problem? ❓

Thank you,

---

<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:** [March 14, 2012, 9:06am UTC](https://forum.sierrawireless.com/t/adl-main-problem/5505/2 "2012-03-14T09:06:23Z")

</div>

Hi,

For the first one, can you give more details on what you want to achieve and the steps that you have followed.  
For the second one, try selecting the required FW package using the properties options (Project-\>Properties-\>Open AT Application) in the dev studio.

---

<div class="post-metadata">

**Author:** ![asem84](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@asem84](https://forum.sierrawireless.com/u/asem84)\
**Post date:** [March 16, 2012, 8:56am UTC](https://forum.sierrawireless.com/t/adl-main-problem/5505/3 "2012-03-16T08:56:12Z")

</div>

Hello,

The first problem is because i use differents firmwares between the soft and the hardware 😊

The second problem, i have read in the adl\_guide that the adl\_main is depracated. For this reason, to solve my problem i used the adl\_tmrSubscribe for do a state machine with a cycle of 18,5ms.

Thank you

---

<div class="post-metadata">

**Author:** ![asem84](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@asem84](https://forum.sierrawireless.com/u/asem84)\
**Post date:** [April 17, 2012, 7:45am UTC](https://forum.sierrawireless.com/t/adl-main-problem/5505/4 "2012-04-17T07:45:42Z")

</div>

For solve this problem i subscribe to TCU my state machine,

➡ Look [https://forum.sierrawireless.com/t/send-and-receive-messages-periodically-with-the-spi/5529/1](https://forum.sierrawireless.com/t/send-and-receive-messages-periodically-with-the-spi/5529/1)

---

<div class="post-metadata">

**Author:** ![asem84](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@asem84](https://forum.sierrawireless.com/u/asem84)\
**Post date:** [April 17, 2012, 7:46am UTC](https://forum.sierrawireless.com/t/adl-main-problem/5505/5 "2012-04-17T07:46:39Z")

</div>

For solve this problem i subscribe to TCU my state machine,

➡ Look [https://forum.sierrawireless.com/t/ms-counter/5539/1](https://forum.sierrawireless.com/t/ms-counter/5539/1)
