| ARRIS Enterprises, Inc. Confidential Information |
Example loader portalThe SDK contains an example loader portal. It is intended to be installed into the boot image as a local portal. The example loader portal will run automatically when the STB boots. It performs some network checks, and if all went well, it loads the main portal over the network. Begin by uncommenting the loader portal lines in the <sdk_root>/build_scripts/example.config
Note that since The
.
└── loader-portal
├── darktheme.css
├── framework
│ ├── framework.css
│ ├── framework-enable.css
│ └── framework.js
├── index.html
├── loader.js
└── main.css
Setting the main URLFor convenience, URLs used by the loader portal are stored in configuration objects. This makes it easy to alter them in the boot image configuration, rather than requiring the tarball to be repacked. The loader portal uses two urls,
When the example loader portal has completed its startup checks, it uses the TOI API to fetch the values of the <sdk_root>/examples/loader-portal/loader.js
Once the network checks have been successfully carried out, the portal loads the main URL: <sdk_root>/examples/loader-portal/loader.js
Network checksThe loader portal performs the following network tests:
Several other tests could be added, such as testing to see if the connection to the home gateway or router is working, even if the Internet is not. These tests can be used to prompt the user to check their cabling between the STB and the router, or the router and the modem, or to contact their service provider, etc. For details on how these tests are performed, please see the Network Service page, and the TOI Network Service interface. Booting without networkTo ensure that the STB boots the loader portal, even if no network is available, the boot loader configuration parameter |