# adl\_adFormat problem

**URL:** <https://forum.sierrawireless.com/t/adl-adformat-problem/3716>\
**Category:** Open AT\
**Created:** [October 7, 2009, 6:19am UTC](https://forum.sierrawireless.com/t/adl-adformat-problem/3716 "2009-10-07T06:19:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zafer](https://avatars.discourse-cdn.com/v4/letter/z/439d5e/32.png) [@zafer](https://forum.sierrawireless.com/u/zafer)\
**Post date:** [October 7, 2009, 6:19am UTC](https://forum.sierrawireless.com/t/adl-adformat-problem/3716/1 "2009-10-07T06:19:12Z")

</div>

Hi,  
i want to apply DOTA feature in my old wavecom module. It is wavecom fastract wismo inside. 655\_09gg.Q2406B, V310.  
At first try, it successfully applies DOTA. it can download and install new application from FTP. But at second try, when it tries to format A&D space(because it should clear previous dota file), module hangs. Its led goes off (not blinking nor shining anymore).  
Here is my code flow.

1. Subscribe the cell. adl\_adSubscribe
2. Get cell info. adl\_adInfo
3. If the cell is finalised previously, Unsubscribe the cell then format the cell to clear AD space. adl\_adUnsubscribe, adl\_adFormat
4. Connect to FTP server and download the DOTA file onto the cell
5. Finalise the cell and install. adl\_adFinalise, adl\_adInstall

Module hangs at 3rd line. What is the possible problems? I couldnt understand the behaviour.

---

<div class="post-metadata">

**Author:** ![zafer](https://avatars.discourse-cdn.com/v4/letter/z/439d5e/32.png) [@zafer](https://forum.sierrawireless.com/u/zafer)\
**Post date:** [October 8, 2009, 4:55am UTC](https://forum.sierrawireless.com/t/adl-adformat-problem/3716/2 "2009-10-08T04:55:21Z")

</div>

Hi,  
I found a temporary solution. Insead of formatting AD space, i use recompact it after i delete the cell by adl\_adDelete function. Now it works OK but i am still curious about why adl\_adFormat behaves like this.
