summaryrefslogtreecommitdiffstats
path: root/recipes-platform/images
AgeCommit message (Collapse)AuthorFilesLines
2016-07-05Add AGL Demo Suide for ALS 2016Tadao Tnikawa1-0/+1
Add AGL Demo Apps for ALS 2016 to be integrated into agl-demo-platform. Change-Id: Iec3706c889c47de40fdee6944bee45d2ce3ebf09 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-07-05Add navigation demo appTomoki Sekiyama1-0/+1
Add the recipe for navigation demo app to recipes-demo-hmi. Change-Id: Ia8df6a2e36d24b27e91d5239c888a05dbe990805 Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com>
2016-06-24Revert "agl-demo-platform.bb: add application framework examples, update ↵Stephane DESNEUX1-1/+0
templates" This reverts commit 1c43b18b339038ece8a36d6c49effcc816214354. Change-Id: I276b349c3bdd8ebf2c7c82ed1ad3d3748a113f59 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-06-20agl-demo-platform.bb: add application framework examples, update templatesStephane Desneux1-0/+1
meta-agl/meta-app-framework/.../packagegroup-agl-app-framework-examples is added to the image Change-Id: Ibf1f99bbddea1f15b87cc3ed0cc42c128f31a8d7 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-02-10Add package group and bitbake target for Quality AssuranceTadao Tanikawa1-0/+11
New packagegroup and bitbake target are added which includes utilities for testing distribution. It is assumed to be used in the Quality Assurance of AGL Distro. New package group: packagegroup-agl-demo-platform-qa New target: agl-demo-platform-qa Change-Id: I96efde8348037821a6dfcd653e9fcbc87408f183 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-12-22Cleanup of recipes for CESdemoJan-Simon Möller1-6/+7
Small fix to the README.md adding a dependency. 2 fixes for the agl-demo-platform.bb a) remove porter specifics, they moved to a bbappend in meta-renesas. b) add CESdemo dependencies and install files in /opt by default. v2: Fixed typo in agl-demo-platform.bb v3: Add 'climatecontrolplugin' package to run CES2016 demo. Change-Id: Id6d2d0b1cdcdf3dbc74309322544e0488a6a003c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-10-07Add bitbake's target for cross SDK (full version)Tadao Tanikawa1-0/+12
Add recipe for a full cross SDK image (which includes SDK for Qt5) for AGL Demo Platform of AGL Distribution. To build SDK, $ bitbake agl-demo-platform-crosssdk To install SDK (e.g. for porter) $ cd tmp/deploy/sdk $ ./poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-cortexa15hf-vfp-neon-toolchain-1.0.0.sh To use SDK (e.g. for porter) $ source /opt/poky-agl/1.0.0/environment-setup-cortexa15hf-vfp-neon-poky-linux-gnueabi You can also use QtCreator with this SDK: $ source /opt/poky-agl/1.0.0/environment-setup-cortexa15hf-vfp-neon-poky-linux-gnueabi $ qtcreator.sh Before building your Qt projects, you should setup QtCreator once to use SDK. E.g. configurations for porter, From Menu "Tools" -> Submenu "Options", 1. Option "Build & Run" -> Tab "Compilers" -> Button "Add" -> Select "GCC" Name: Poky G++ Path: /opt/poky-agl/1.0.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ 2. Option "Build & Run" -> Tab "Debuggers" -> Button "Add" Name: Poky GDB Path: /opt/poky-agl/1.0.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb 3. Option "Build & Run" -> Tab "Qt Versions" -> Button "Add" Filename: /opt/poky-agl/1.0.0/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/qmake 4. Option "Build & Run" -> "Tab "Kits" -> Button "Add" Name: AGL Device Type: Generic Linux Device Sysroot: /opt/poky-agl/1.0.0/sysroots/cortexa15hf-vfp-neon-poky-linux-gnueabi Compiler: Poky G++ Debugger: Poky GDB Qt Version: Qt 5.3.2(qt5) Change-Id: I5794c62e0f06db326d7af737ce47aa9767cdd3ef Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-10-02Reworking packagegroups of AGL DistributionTadao Tanikawa1-0/+24
The recipe files and thier names are reworked by design of AGL packagegroup. For more details, see 'Packagegroups'section in README.md. Change-Id: Ib7fc66ec5f785b974719e85887715cc76f610ab4 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
/ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="generator" content="pandoc">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
  <meta name="author" content="José Bollo">
  <title>Overview of bindings shipped with AFB-Daemon</title>
  <style type="text/css">code{white-space: pre;}</style>
  <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  <![endif]-->
  <link rel="stylesheet" href="doc.css">
</head>
<body>
<header>
<h1 class="title">Overview of bindings shipped with AFB-Daemon</h1>
<h2 class="author">José Bollo</h2>
<h3 class="date">24 juin 2016</h3>
</header>
<nav id="TOC">
<ul>
<li><a href="#overview-of-bindings-shipped-with-afb-daemon">Overview of bindings shipped with AFB-Daemon</a><ul>
<li><a href="#list-of-bindings">List of bindings</a></li>
<li><a href="#detail-of-bindings">Detail of bindings</a><ul>
<li><a href="#hello-world">Hello World</a></li>
<li><a href="#authentication">Authentication</a></li>
<li><a href="#tic-tac-toe">Tic Tac Toe</a></li>
<li><a href="#audio">Audio</a></li>
<li><a href="#radio">Radio</a></li>
<li><a href="#media">Media</a></li>
</ul></li>
</ul></li>
</ul>
</nav>
<h1 id="overview-of-bindings-shipped-with-afb-daemon">Overview of bindings shipped with AFB-Daemon</h1>
<h2 id="list-of-bindings">List of bindings</h2>
<p>Here are the bindings shipped in the source tree:</p>
<ul>
<li>Hello World</li>
<li>Authentication</li>
<li>Tic Tac Toe</li>
<li>Audio <em>(2 backends: ALSA/PulseAudio)</em></li>
<li>Radio <em>(1 backend: RTLSDR RTL2832U)</em></li>
<li>Media <em>(1 backend: Rygel UPnP)</em></li>
</ul>
<p>All bindings may not be built, depending on the development libraries present on the system at build time.</p>
<h2 id="detail-of-bindings">Detail of bindings</h2>
<h3 id="hello-world">Hello World</h3>
<p>A sample Hello World binding for demonstration and learning purposes.</p>
<p>This binding provides a few unauthenticated requests, all beginning with &quot;ping&quot;, to demonstrate basic binder capabilities.</p>
<p><strong>Verbs</strong>:</p>
<ul>
<li><em>ping:</em> returns a success response</li>
<li><em>pingfail:</em> returns a failure response</li>
<li><em>pingnull:</em> returns a success response, with an empty JSON response field</li>
<li><em>pingbug:</em> does a memory violation (intercepted by the binder)</li>
<li><em>pingJson:</em> returns a success response, with a complex JSON response field</li>
<li><em>pingevent:</em> broadcasts a global event</li>
</ul>
<p><br /></p>
<h3 id="authentication">Authentication</h3>
<p>An sample Authentication binding for demonstration purposes.</p>
<p>This binding provides a few requests to demonstrate the binder's token-based security mechanism.</p>
<p>Calling &quot;<em>connect</em>&quot; with a security token will initiate a session, calling &quot;<em>refresh</em>&quot; will issue a new token and invalidate the previous one, calling &quot;<em>logout</em>&quot; will invalidate all tokens and close the session.</p>
<p><strong>Verbs</strong>:</p>
<ul>
<li><em>ping:</em> returns a success response</li>
<li><em>connect:</em> creates a session and returns a new token</li>
<li><em>refresh:</em> returns a new token</li>
<li><em>check:</em> verifies the passed token is valid</li>
<li><em>logout:</em> closes the session</li>
</ul>
<p><br /></p>
<h3 id="tic-tac-toe">Tic Tac Toe</h3>
<p>A sample Tic Tac Toe game binding.</p>
<p>This binding provides an interactive Tic Tac Toe game where the binder returns the grid as a JSON response.</p>
<p><strong>Verbs</strong>:</p>
<ul>
<li><em>new:</em> starts a new game</li>
<li><em>play:</em> asks the server to play</li>
<li><em>move:</em> gives a client move</li>
<li><em>board:</em> gets the current board state, as a JSON structure</li>
<li><em>level</em>: sets the server level</li>
<li><em>join</em>: joins an existing board</li>
<li><em>undo</em>: undo the last move</li>
<li><em>wait</em>: wait for a move</li>
</ul>
<p><br /></p>
<h3 id="audio">Audio</h3>
<p>A sample Audio binding with 2 backends:</p>
<ul>
<li>ALSA (mandatory)</li>
<li>PulseAudio (optional)</li>
</ul>
<p>This binding is able to initialize a specific soundcard, define volume levels, channels (mono/stereo...), mute sound, and play a 22,050 Hz PCM stream.</p>
<p><strong>Verbs</strong>:</p>
<ul>
<li><em>ping:</em> returns a success response</li>
<li><em>init:</em> initializes backend, on the &quot;default&quot; sound card</li>
<li><em>volume:</em> gets or sets volume, in % (0-100)</li>
<li><em>channels:</em> gets or sets channels count (1-8)</li>
<li><em>mute:</em> gets or sets the mute status (on-off)</li>
<li><em>play</em>: gets or sets the playing status (on-off)</li>
</ul>
<p><em>(if PulseAudio development libraries are not found at build time, only ALSA will be available)</em></p>
<p><em>(if a PulseAudio server is not found at runtime, the binding will dynamically fall back to ALSA)</em></p>
<p><em>(a specifc backend can be forced by using this syntax before running afb-daemon : <strong>$ export AFB_AUDIO_OUTPUT=Alsa</strong>)</em></p>
<p><br /></p>
<h3 id="radio">Radio</h3>
<p>A sample AM/FM Radio binding with 1 backend:</p>
<ul>
<li>RTLSDR - Realtek RTL2832U dongles (mandatory)</li>
</ul>
<p>This binding is able to initialize specific RTL2832U dongles, switch between AM/FM modes, define frequency, mute sound, and play sound (if combining with the <strong>audio</strong> binding).</p>
<p><strong>Verbs</strong>:</p>
<ul>
<li><em>ping:</em> returns a success response</li>
<li><em>init:</em> initializes backend, looking for plugged-in devices</li>
<li><em>power:</em> sets device power status (on-off)</li>
<li><em>mode:</em> sets device reception mode (AM-FM)</li>
<li><em>freq:</em> sets device frequency (in Hz)</li>
<li><em>mute</em>: sets device mute status (on-off)</li>
<li><em>play</em>: sets device playing status (on-off)</li>
</ul>
<p><em>(if rtlsdr development libraries are not found at build time, this binding will not be built)</em></p>
<p><br /></p>
<h3 id="media">Media</h3>
<p>A sample Media Server binding with 1 backend:</p>
<ul>
<li>Rygel</li>
</ul>
<p>This binding is able to detect a local Rygel UPnP media server, list audio files, select an audio file for playback, play/pause/seek in this file, upload an audio file to the server.</p>
<p><strong>Verbs</strong>:</p>
<ul>
<li><em>ping:</em> returns a success response</li>
<li><em>init:</em> initializes backend, looking for an active local UPnP server</li>
<li><em>list:</em> returns list of audio files, as a JSON structure</li>
<li><em>select:</em> select an audio files, by index number (001-...)</li>
<li><em>play:</em> plays the currently selected audio file</li>
<li><em>stop:</em> stops the currently selected audio file</li>
<li><em>pause:</em> pauses the currently selected audio file</li>
<li><em>seek:</em> seeks in the currently selected audio file, in seconds</li>
<li><em>upload:</em> uploads an audio file, with a POST request</li>
</ul>
<p><em>(if GUPnP/GSSDP development libraries are not fund at build time, this binding will not be built)</em></p>
<p><br /></p>
<hr />
<p><br /></p>
<p>Sample command-line applications: <em>afb-client-demo</em> (built by default)</p>
<p>Sample HTML5 applications: **test/*.html<strong>, </strong><a href="https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/app-framework-demo.git;a=tree">afb-client</a><strong>, </strong><a href="https://github.com/iotbzh/afb-radio">afb-radio</a>**</p>
<p>Sample Qt/QML applications: <em>test/token-websock.qml</em></p>
</body>
</html>