User's Manual DG100 IoT Gateway
Web user interface
application at any time, the Service Registry also provides notification mechanisms so that a
bundle can be informed when another bundles it uses disappears from the system.
More information about OSP and interfacing with Service Registry may be found on following
link:
https://macchina.io/docs/00100-OSPOverview.html
5.6.2 Saving JavaScript program
To Save the content of JavaScript editor on the filesystem, click on Save. Saved content will not
be lost after DG100 power down.
5.6.3 Exporting JavaScript program to bundle
The Playground can also be used to pack JavaScript program to bundle and download a
complete bundle containing the script. This bundle can then be deployed to a device, either
by placing it on the filesystem (in one of the directories configured as bundle repositories), or
by installing them using the web based Bundle utility.
Begin with a click on Export Bundle. Modal window is opened.
User must enter
Name
,
Symbolic name
and
Vendor information
. Version and Copyright
information is set by default to
1.0.0
and
(c) 2020
and can be changed.
After clicking to Export button, JavaScript program is packed and downloaded as one bundle
file with
.bndl
extension. Bundle can be installed using "Bundles" app.
www.decode.rs
32/31
Fig. 31: Export bundle modal window