Versions Compared

Key

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

Status
subtletrue
colourRed
titleInprogress

Table of Contents
Overview

An RDK-V Virtual Remote basically focuses on emulating the features of physical RDK remote control unit to provide support to application developers and testers to make there their life easier with the new RDK-V Virtual Remote feature.

It comes in a form of installer package that can be installed on desktop pc and launched. RDK-V Virtual Remote application starts with all the RCU keys present in physical RDK remote. After application launch, an RDK-V Virtual Remote screen is displayed which mainly contains virtual keys same as RCU keys present in physical rdk remote.

Prerequisite

Note: Few RCU keys are not implemented in physical RDK remote, same keys will not work in RDK-V Virtual Remote. Details will be added soon.

Setup RDK virtual remote dev environment

Prerequisite

RDK virtual Emulator app manager and Virtual remote has been developed and tested on below environment

...

  • V8: 9.1.269.39-electron.0

V8 is Google's open-source high-performance JavaScript and WebAssembly engine, written in C++. It is used in Chrome and in Node.js, among others.

...

  • Oracle Virtual Box: Version 5.2.42_Ubuntu r137960

            Oracle VM VirtualBox is cross-platform virtualization software.

            orand

  • RPI: 3B

Source code setup and Run application

Follow below steps to run application on host pc and create installer package

  • step Step 1- Use node version v14.18.1 or above

                            $ nvm use v14.18.1 

  • step Step 2 - get the RDK-V Virtual Remote src code (link will be added soon) then run below command

$ npm install

  • step 3 - run below command
  • emulator src code

                            $ git clone https://code.rdkcentral.com/r/rdk/devices/intel-x86-pc/emulator/appmanager

  • Step 3 - goto RDKVirtualRemote folder

                             $ cd RDKVirtualRemote

  • Step 4 - run below command to install dependencies

                             $ npm install

  • Step 5 - run below command to launch virtual remote

                             $ npm run start  

...

   

Create installer package

Follow below steps to create installer package for linux 

  • Need to install electron-packager and electron-installer-debian globally if not installed in your PC

           $   $ sudo npm install -g electron-packager
           $   $ sudo npm install -g electron-installer-debian

...

  • Installer package will be created and stored inside the dist folder.

For the complete documentation on electronjs refer link: https://www.electronjs.org/.

Installation

Installation

Pre-Build Download

  • Download pre-build installer package for RDK-V Virtual Remote:Find the installer package created inside the dist folder for the RDKV virtual remote:  rdkv-virtual-remote-linux-x64_1.0.0_amd64.deb

Steps to install

Step 1- Double click on downloaded installer deb package

...

Image Added

Step 2- Default Linux software install window will appear with install button, click on install

Image Added

Step 3- Authentication window will appear

...

, give user password and press Authenticate

Image Added


On successful installation user/developer will be able to launch RDK-V Virtual Remote by selecting the RDK-V Virtual Remote icon from apps 

Image Added

Features

Target Device IP Address Configuration

  • Developer has to configure the rpi device/emulator ip address, after device ip configuration virtual remote will be able to communicate with rpi/emulator.


  • On focus button is highlighted as shown in below image.

Image Added

Supported RCU keys

Currently following listed rcu keys are working UP/Down/OK /Home /Mute and Backsapce 

Resources