# Wopen=3 by application?

**URL:** <https://forum.sierrawireless.com/t/wopen-3-by-application/674>\
**Category:** Open AT\
**Created:** [September 10, 2006, 11:45pm UTC](https://forum.sierrawireless.com/t/wopen-3-by-application/674 "2006-09-10T23:45:48Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![hegler](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@hegler](https://forum.sierrawireless.com/u/hegler)\
**Post date:** [September 10, 2006, 11:45pm UTC](https://forum.sierrawireless.com/t/wopen-3-by-application/674/1 "2006-09-10T23:45:48Z")

</div>

After to install a new application through DOTA I need to initialize the FLASH to store new objects of this application. For this I have made the following commands: at+wopen=0, at+wopen=3, at+wopen=1. I would like to know if somebody knows to say me as to make this of the application inside.

---

<div class="post-metadata">

**Author:** ![mark\_newbs](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mark\_newbs](https://forum.sierrawireless.com/u/mark_newbs)\
**Post date:** [September 12, 2006, 2:26pm UTC](https://forum.sierrawireless.com/t/wopen-3-by-application/674/2 "2006-09-12T14:26:20Z")

</div>

Hi Hegler,

I guess you would need to use the ADL\_INIT\_DOWNLOAD\_SUCCESS parameter of the adl\_main function and adl\_flhErase/adl\_flhExist functions to delete all subscribed ID’s of the flash handles you are subscribed to. see page 107 of the 3.10 adl guide.

I havent attempted this and I am a newbie to OpenAT but this is how i would approach it.

Mark

---

<div class="post-metadata">

**Author:** ![walter\_senekal](https://avatars.discourse-cdn.com/v4/letter/w/f05b48/32.png) [@walter\_senekal](https://forum.sierrawireless.com/u/walter_senekal)\
**Post date:** [September 12, 2006, 9:23pm UTC](https://forum.sierrawireless.com/t/wopen-3-by-application/674/3 "2006-09-12T21:23:14Z")

</div>

Hi Hegler

I have posted an example of dota on one of the other posts  
[http://www.wavecom.com/modules/movie/scenes/forums/viewtopic.php?t=548&highlight=](http://www.wavecom.com/modules/movie/scenes/forums/viewtopic.php?t=548&highlight=)  
but you can not do AT+WOPEN=3 from remote  
you will have to delete the flash objects manually  
Best regards  
Walter

---

<div class="post-metadata">

**Author:** ![hegler](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@hegler](https://forum.sierrawireless.com/u/hegler)\
**Post date:** [September 13, 2006, 12:50am UTC](https://forum.sierrawireless.com/t/wopen-3-by-application/674/4 "2006-09-13T00:50:23Z")

</div>

Hi Mark and Walter,  
thanks for all. But and about page 40 of adl user guide (3.10) “… the number of object IDs associated to a given handle may be only changed after have erased the flash objects (with the AT+WOPEN=3 command) …”. Is it possible to erase the handle and its associated objects to insert a new one set ?

thanks, again

Hegler

---

<div class="post-metadata">

**Author:** ![hegler](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@hegler](https://forum.sierrawireless.com/u/hegler)\
**Post date:** [September 13, 2006, 12:51am UTC](https://forum.sierrawireless.com/t/wopen-3-by-application/674/5 "2006-09-13T00:51:58Z")

</div>

Hi Mark and Walter,  
thanks for all. But and about page 40 of adl user guide (3.10) “… the number of object IDs associated to a given handle may be only changed after have erased the flash objects (with the AT+WOPEN=3 command) …”. Is it possible to erase the handle and its associated objects to insert a new one set ?

thanks, again

Hegler

---

<div class="post-metadata">

**Author:** ![hegler](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@hegler](https://forum.sierrawireless.com/u/hegler)\
**Post date:** [September 13, 2006, 12:56am UTC](https://forum.sierrawireless.com/t/wopen-3-by-application/674/6 "2006-09-13T00:56:44Z")

</div>

Hi Mark and Walter,  
thanks for all. But and about page 40 of adl user guide (3.10) “… the number of object IDs associated to a given handle may be only changed after have erased the flash objects (with the AT+WOPEN=3 command) …”. Is it possible to erase the handle and its associated objects to insert a new one set ?

thanks, again

Hegler

---

<div class="post-metadata">

**Author:** ![walter\_senekal](https://avatars.discourse-cdn.com/v4/letter/w/f05b48/32.png) [@walter\_senekal](https://forum.sierrawireless.com/u/walter_senekal)\
**Post date:** [September 13, 2006, 6:52am UTC](https://forum.sierrawireless.com/t/wopen-3-by-application/674/7 "2006-09-13T06:52:31Z")

</div>

Hi Hegler  
Sorry I forgot about that because I have never tried to delete flash objects.  
Why do you need to delete it?  
Delete the values in the object you do not want to use anymore  
and just make some more flash objects.  
You can make 2000 objects  
Best regards  
Walter

---

<div class="post-metadata">

**Author:** ![hegler](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@hegler](https://forum.sierrawireless.com/u/hegler)\
**Post date:** [September 13, 2006, 6:35pm UTC](https://forum.sierrawireless.com/t/wopen-3-by-application/674/8 "2006-09-13T18:35:57Z")

</div>

Hi Walter,  
i saw hat, your application works with A&D memory and iÂ´m needing new objects in other flash area memory, using adl\_flhwrite/adl\_flhread and so…that procedure is valid for all flash memory ?

thanks a lot,

Hegler

---

<div class="post-metadata">

**Author:** ![walter\_senekal](https://avatars.discourse-cdn.com/v4/letter/w/f05b48/32.png) [@walter\_senekal](https://forum.sierrawireless.com/u/walter_senekal)\
**Post date:** [September 13, 2006, 8:19pm UTC](https://forum.sierrawireless.com/t/wopen-3-by-application/674/9 "2006-09-13T20:19:35Z")

</div>

Hi Hegler  
A&D and flash objects is 2 different things  
is possible to remove A&D objects and then you have to recompact the A&D space to release the space again  
Best regards  
Walter

---

<div class="post-metadata">

**Author:** ![hegler](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@hegler](https://forum.sierrawireless.com/u/hegler)\
**Post date:** [September 13, 2006, 10:15pm UTC](https://forum.sierrawireless.com/t/wopen-3-by-application/674/10 "2006-09-13T22:15:17Z")

</div>

Hi Walter,

i know that. I only want to know if with your sample (idea) is possible to insert new objects to FLASH (not A&D) already subscribed in old application.

thanks

Hegler

---

<div class="post-metadata">

**Author:** ![walter\_senekal](https://avatars.discourse-cdn.com/v4/letter/w/f05b48/32.png) [@walter\_senekal](https://forum.sierrawireless.com/u/walter_senekal)\
**Post date:** [September 14, 2006, 6:15am UTC](https://forum.sierrawireless.com/t/wopen-3-by-application/674/11 "2006-09-14T06:15:28Z")

</div>

Hi Hegler  
Yes  
the flash objects still exist and the data from previous app is still in flash.  
Ready to be used.  
the new app only over write the ROM  
Best regards  
Walter
