Remote bootstrap
SUMMARY
The goal of this document is to explain how to launch a remote bootstrap:
| App |
|---|
manifest.xml |
http://<WebDAV_server_url>/remoteAppTest.html |
instead the default local bootstrap:
| App |
|---|
manifest.xml |
player.html |
2019-08-13 (last update)
- App
app-blue-screen-example.tar.gzwith local bootstrap example download - App
app-logo-remote-bootstrap.tar.gzwith remote bootstrap example download - Remote App example
remoteAppTest.htmlhosted on a WebDAV server download
COMPATIBILITIES
- Gekkota 4.12.10 (or above)
- Device
- DMB400
- SMA300
- DME204
- SMT210
INFORMATION
- Prerequisite: have a external bootstrap available on a remote WebDAV server
- In the example, download the bootstrap
remoteAppTest.htmland your company logologo.jpgon a remote WebDAV serverhttp://<WebDAV_server_URL>/
- In the example, download the bootstrap
- Get an App having a local bootstrap
- Download the
app-blue-screen-example.tar.gzarchive, example of App with a local bootstrap which is just displaying for example a blue content
- Download the
- Modify the App to use a remote bootstrap
- Uncompress the
app-blue-screen-example.tar.gzarchive with7-Zip(or7-Zip File Manager) - Edit the
manifest.xmlfile manifest example - And replace
<pzpm:bootstrap src="player.html"/>by<pzpm:bootstrap src="http://<WebDAV_server_URL>/remoteAppTest.html" password="<password>" username="<username>"/>
- Save the
manifest.xmland close the file editor. When7-zip File Manageris asking to remake automatically the archive with the new manifest.xml, click yes. Rename the archive intoapp-logo-remote-bootstrap.tar.gz
- Uncompress the
- Set the App wizard mode to
Local depositand load the new App- Connect to the device WebUI
http://<device_ip_addr>/.admin/#/configuration/app(identifiant/password), - Select the
Local depositradio button, click onDrop file here or clic to add one, select the new Appapp-logo-remote-bootstrap.tar.gzyou've just generated, then click on the buttonLoad the App
- Connect to the device WebUI
- The App should restart and your company logo should be displayed
In case the network is not available anymore, after a reboot, the system message Error : enable to launch the bootstrap URI (error http 0) should be displayed. To work around, restore the network connection and then reload the App (or reboot the device).