- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
we have been successful in implementing and deploying the OTA bootloader in Upgradable Stack use case - great module!
Depending on a specific system state (and/or a GPIO), we'd like to forcibly launch the Stack Application or the User Application from within the Launcher (i.e., the bootloader).
We found no explicit function in Loader's code to achieve this, so after a bit of analysis we ended up adding the following calls to the code:
Launcher_Exit(Launcher_EXIT_TO_BTLDB_1);
or
Launcher_Exit(Launcher_EXIT_TO_BTLDB_2);
depending on which application we want to force.
Is this a suitable approach or does anyone have a better/alternate solution?
Best regards,
Stefano Voulaz
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, this should be fine.