Update MIDlet by itself on BGS5 | Telit Cinterion IoT Developer Community
August 10, 2016 - 12:35pm, 3022 views
is there a way I can update an installed and running midlet by itself using a newer version, that is on the flash filesystem?
Our installed and running Midlet takes care about transffering the newer version to the flash filesystem. Now we want that the MIDlet by itself installs the new version of it. We tried to use
but this results in
+CME ERROR: operation not allowed
because the MIDlet is running. To stop the MIDlet before installation is not possible, because then we can not install it afterwards because MIDlet is terminated already. The MIDlet runs in autostart but we have no physical access to the device and OTAP is not possible.
Howere this scenario works with OTAP and updating a running MIDlet.
So is there a way we can solve this scenario similar to OTAP but with a new midlet version that is already on the flash file system?