To erase the flash objects from your Open-AT application, you can use adl_flhErase () API. This would erase the flash objects. Please note that for each flash subscription, that has been done in the application, a separate adl_flhErase () has to be called. You can use ADL_FLH_ALL_IDS to erase all the objects associated with a handler.
It should be noted that the handle will not be erased when you call adl_flhErase () API. Only the flash objects (which are associated with a handle) will be erased. To erase the flash handle itself you have to use AT+WOPEN=3 command.
This command cannot be executed from within the Open-AT application as it would return +CME ERROR: 532.
Hence, using ADL, you can erase the flash objects (for which you know the flash handle value), but you cannot erase the handles itself.
Let’s hope that Wavecom will incorporate APIs to erase the flash handles too in next releases of Open-AT.
Open AT Fan.