Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Download/Build Instructions

For more instructions on how to build/install the image, see the documentation here: RDK reference image.The build script is still under construction and can be shared later. This image is based on the reference image build which is documented here: RDK reference image

A pre-built binary for the Raspberry Pi 3B from 2020-10-13 is available to download and flash from here: https://drive.google.com/file/d/1zKLtNw0jG7VMqS4xlpSJW8GihqS4i5ib/view?usp=sharing. This can then be flashed onto the SD card using Etcher (https://www.balena.io/etcher/). Make sure to resize the second partition afterwards to at least 2GB. Or else there is not enough space to download the DAC apps on the rootfs. This can be done with fdisk or gparted.

By default the image will start up with refapp2. The TS media files have been removed so you will not see emulated QAM. Also note there is currently a problem where the videoplayer layer is ON TOP of the web GUI layer. While you can start video playback of a movie, the web GUI will become hidden. It will still receive keys though. You can stop refapp2 by browsing to http://$BOXIP:9998 on your workstation and de-activate the webkitbrowser plugin there.

Installing and Running DAC Applications

...

The full list of RDKShell and Packager APIs can be found in the full documentation.

Demo Web App

The reference image also contains a sample web app that performs the above steps. To start the test page, you can run the following command on your development PC

Code Block
wscat -c ws://$BOX/jsonrpc -s notification -x '{"jsonrpc":"2.0","id":1,"method":"org.rdk.RDKShell.1.launch", "params":{ "callsign": "WebApp", "uri": "http://127.0.0.1:50050/test/index.html", "type": "WebKitBrowser"} }'

Use "TAB" to navigate the buttons and enter to click. By default it will download DAC bundles for RPI. Bundles are currently downloaded from here: https://github.com/stagingrdkm/lntpub/tree/master/bundle This test app is based on the browser example which comes with ThunderJS. The sources of the test app can be found here: https://github.com/stagingrdkm/lgpub/tree/master/dac/rdkshelldactester 

Note when a DAC app is started via the test page, the underlying test page will also still receive the keys



App Development and Publishing

...