Versions Compared

Key

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

Status
colourRed
titleInprogress
Table of Contents

Overview

An RDK-V Emulator App Manager basically focuses on emulating the features such as: remote control unit, RDK services api validation's, testing automation, virtual box manager, application manager etc. and adding many more features to provide support to application developers and testers to make there life easier with new RDK-V Emulator App Manager. It comes in a form of installer package that can be installed on desktop pc and launched along with virtual box.

Prerequisite

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

...

          Oracle VM VirtualBox is cross-platform virtualization software.

RDKV Emulator Build Steps

Follow below steps to build rdkv emulator dunfell image along with rdk services

// TODO  

Source code setup and Run application

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

...

  • step 2 - run below command

$ npm run start     

Create installer package

Follow below steps to create installer package for linux/windows/mac             

...

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

Installation

  • Installer package will be created for Emulator app manager ui: emulatormanager_1.0.0_amd64.deb
  • Installer package will be created for RDK remote: rdk_remote.deb (updated deb package name will be updated soon)
  • Double click on installer deb package, default linux software install window will appear and progress bar will be displayed
  • On successful installation user/developer will be able to launch emulator app manager ui and RDK remote by selecting the RDK-V emulator icon and RDK remote icon from apps  
  • RDK remote can be launched from emulator app manager > remote manager

Features

Emulator IP Address Configuration

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

VM Manager

  • Install image: By clicking on install image button developer will get the option to provide instance name, select added image from the list ( or add image by clicking on add image button) and install image into the vm.

...

  • Show installed OS List: By default on launch VM manager installed os list will be display (show installed os list tab will be active), developer can see the list of installed images into the vm on the show installed list screen. 
  • Start VM: By clicking on start vm button developer can start the vm.
  • Shutdown VM: By clicking on shutdown vm button developer can power off the vm.
  • Reboot VM: By clicking on reboot vm button developer can restart/reboot the vm.
  • Delete VM instance: By clicking on delete vm instance developer can remove/delete the vm instance.

App Manager

  • Set app url: Developer /developer having the option to set the application url which is running on host machine and on clicking launch button app will be launched on emulator.
  • launch ResidentApp: By clicking on launch residentapp button default residentapp will be launched.
  • Launch IDE: By clicking on launch ide button developer can launch the pre-configured vs code and do modification in the code after that need to run $ lng dev command and immediately changes will reflect on emulator.
  • Automate tests option: By clicking on automate tests button developer will get the option to execute the test scripts (pre-configured). On submit selected script will be executed and developer will be able to see the results on emulator.

Api Manager

  • Validate Api: Developer can use this option to validate the plugin api's by selecting api from dropdown and click/select api from the list and click on "Validate Api" button.
  • Validate All Api: Developer can use this option to validate the plugin api's by selecting multiple api's from dropdown and click/select api from the list and click on "Validate All Api" button.

Remote Manager

  • Launch remote: Developer can choose the remote from the available remotes listed in remote manager and on clicking use this button selected remote will be launched on window, as a separate app.

Help

FAQ's

1. How to set rpi or emulator ip in emulator manager app?
    We can provide target machine  ip address in ip box which appears on right-top side.

...

12. How to launch virtual remote?
      Select  "Use this " option from remote manager tap and then enter R-pi or Emulator ip address in remote app. Ip address will appear in bottom. After enter the ip address need to hit enter key. 

In progress Tasks:

  • RDKV Emulator App Manager UI improvisation
  • Mouse over effect and tooltip will be shown in emulator manager ui buttons
  • Images/screenshots need to update with the latest changes