Versions Compared

Key

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

Table of Contents

1.Repos:


Repo Name

URL

Comment

WPEFrameworkhttps://github.com/WebPlatformForEmbedded/WPEFrameworkMain repo for Thunder/WPEFramework
WPEFrameworkPluginshttps://github.com/WebPlatformForEmbedded/WPEFrameworkPluginsVarious WPEFramework plugins
Lightning SDKhttps://github.com/WebPlatformForEmbedded/Lightning

WPE UI Framework (JS & WebGL library for developing web apps)

WPEReferenceUXhttps://github.com/WebPlatformForEmbedded/WPEReferenceUXSample UI/Demo app which demonstrates WPEFramework and Lightning use
WPEPluginLauncherhttps://github.com/WebPlatformForEmbedded/WPEPluginLauncherPlugin to "Launch" linux applications and scripts

2. WPEFramework

WPEFramework provides a unified web-based interface with a consistent navigation model. In this model, plugins (custom or generic) are controlled and queried, through the WPEFramework application.

...

3.1 Methods

Method

Function

Method

Function

GETRetrieve information from WPEFramework or a plugin
POSTUpdate new information or new objects at WPEFramework or a plugin
PUTUpdate new information or new objects at WPEFramework or a plugin
DELETEDelete information at WPEFramework or a plugin

...

   /usr/bin/WPEFramework-1.0.0000000
/usr/bin/WPEProcess -> WPEProcess-1.0.0000000 (each out-of-process plugin will run in a seperate WPEProcess)
/usr/bin/WPEProcess-1.0.0000000
/usr/bin/WPEcdmiWPEFramework -> WPEFramework-1.0.0000000 (main WPEFramework process, started with systemd, Controller and in-process plugins run in this process)

...

WPEFramework runs as a systemd service. The main process is named WPEcdmi (it needs to be renamed to WPEFramework ) and runs the main controller plugin as well as the other in-process plugins (such as monitor, tracing etc). 

...

   11317 ? Ssl 0:00 /usr/bin/WPEcdmiWPEFramework -b
11340 ? Sl 0:00 WPEProcess -a /usr/bin/ -c OCDMImplementation -d /usr/share/WPEFramework/OCDM/ -i 85 -l libWPEFrameworkOCDM.so -m /usr/lib/wpeframework/proxystubs/ -p /opt/OCDM/ -r /tmp/communicator -s /usr/lib/wpeframework/plugins/

...

   PID   USER PR NI  VIRT  RES  SHR S %CPU %MEM   TIME+  COMMAND
25712 root 20 0 105156 3040 2432 S 0.3 0.5 0:00.08 WPEcdmiWPEFramework
25737 root 20 0 322284 6120 5064 S 0.0 1.1 0:00.19 WPEProcess

The main WPEFramework process "WPEcdmiWPEFramework" uses ~3MB RES memory with monitor, trace and deviceinfo plugins enabled. WPEProcess (OCDM) plugin is using 6MB (in idle state, it uses more when there are active DRM sessions).

...

WebKitBrowserPlugin allows WPEFramework clients to launch WPE instances, set the URL, suspend&resume browser processes. It works similar to rdkbrowser2 but instead of the rtRemote interface, HTTP API is used.

Further Reading:

Children Display