![]() |
BSB Developer Docs
|
Javascript application installer. More...
Go to the source code of this file.
Data Structures | |
| struct | JsAppInstallerStageResult |
Macros | |
| #define | RECORD_JS_APP_INSTALLER "js_app_installer" |
Typedefs | |
| typedef struct JsAppInstaller | JsAppInstaller |
| typedef enum JsAppInstallerError | JsAppInstallerError |
| typedef struct JsAppInstallerStageResult | JsAppInstallerStageResult |
Functions | |
| JsAppInstallerStageResult | js_app_installer_stage (JsAppInstaller *instance) |
| Unpack and check downloaded app package. | |
| JsAppInstallerError | js_app_installer_install (JsAppInstaller *instance, uint32_t install_key) |
| Install previously staged app. | |
Javascript application installer.
| JsAppInstallerError js_app_installer_install | ( | JsAppInstaller * | instance, |
| uint32_t | install_key ) |
Install previously staged app.
| instance | service instance. |
| install_key | installation key previously returned with js_app_installer_stage. |
| JsAppInstallerStageResult js_app_installer_stage | ( | JsAppInstaller * | instance | ) |
Unpack and check downloaded app package.
The package to unpack is located at JS_APP_DOWNLOAD_PATH. The package is unpacked to the staging folder (JS_APP_STAGING_PATH).
| instance | service instance. |