aboutsummaryrefslogtreecommitdiffstats
path: root/htdocs
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2017-08-08 18:52:13 +0200
committerfulup <fulup.arfoll@iot.bzh>2017-08-08 18:52:13 +0200
commitf817ce67ff6344f181d221c859e1cb2231a3dac4 (patch)
treeca95512377f7e2105a3a113c31c75abde0dd20ad /htdocs
parent33c2cd0236823d108cbb21af34b8d7843d117ac1 (diff)
Early Draft of LUA integration
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/audio-control.html40
-rw-r--r--htdocs/docs/AAAA-architecture.odgbin27998 -> 28177 bytes
-rw-r--r--htdocs/docs/AAAA-architecture.pdfbin36392 -> 36596 bytes
-rw-r--r--htdocs/index.html2
4 files changed, 41 insertions, 1 deletions
diff --git a/htdocs/audio-control.html b/htdocs/audio-control.html
new file mode 100644
index 0000000..3be1ef7
--- /dev/null
+++ b/htdocs/audio-control.html
@@ -0,0 +1,40 @@
+<html>
+<head>
+ <title>Basic Audio Hardware Abstraction Layer Test</title>
+ <link rel="stylesheet" href="AudioBinding.css">
+ <script type="text/javascript" src="AFB-websock.js"></script>
+ <script type="text/javascript" src="AudioBinding.js"></script>
+</head>
+
+
+<body onload="init('hal_registry','alsacore', 'hallist')">
+
+ <h1>Simple Audio Control test</h1>
+ <button id="connected" onclick="init('alsa_registry','alsacore', 'getinfo');">Binder WS Fail</button>
+ <br><br>
+
+ <b>API Verbosity </b>
+ <select id='api_verbosity' onclick='mode=this.value'>
+ <option value='0'>Quiet</option>
+ <option value='1'>Compact</option>
+ <option value='2'>Verbose</option>
+ <option value='3'>Full</option>
+ </select>
+ <br>
+
+ <br>
+ <ol>
+
+ <li><button onclick="callbinder('control','lua_dostring','print(\'Bonjours\'); return true, 4567');">LUA string</button></li>
+ <li><button onclick="callbinder('control','lua_docall' , {'func':'Adjust_Volume_Speed', 'args':[20]});">LUA function</button></li>
+ <li><button onclick="callbinder('control','lua_doscript', {'script':'helloworld-lua-script.lua', args:[{'arg1':'abcd'}, {'next':7890}, {'last':'xyz'}]});">LUA script</button></li>
+
+ </ol>
+
+ <div id="main" style="visibility:hidden">
+ <ol>
+ <li>Question <pre id="question"></pre>
+ <li>Response <pre id="output"></pre>
+ <li>Events: <pre id="outevt"></pre>
+ </ol>
+ </div>
diff --git a/htdocs/docs/AAAA-architecture.odg b/htdocs/docs/AAAA-architecture.odg
index 1ebdb1c..90a2486 100644
--- a/htdocs/docs/AAAA-architecture.odg
+++ b/htdocs/docs/AAAA-architecture.odg
Binary files differ
diff --git a/htdocs/docs/AAAA-architecture.pdf b/htdocs/docs/AAAA-architecture.pdf
index a9d0605..3b6280d 100644
--- a/htdocs/docs/AAAA-architecture.pdf
+++ b/htdocs/docs/AAAA-architecture.pdf
Binary files differ
diff --git a/htdocs/index.html b/htdocs/index.html
index 2d2b4ae..4b842c1 100644
--- a/htdocs/index.html
+++ b/htdocs/index.html
@@ -6,4 +6,4 @@
<ol>
<li><a href="alsa-core.html">AlsaCore Low Level Binding</a>
<li><a href="alsa-hal.html" >AlsaHAL Hardware Abstraction Layer</a>
- <li><a href="audio-logic.html">AudioLogic High level business API</a>
+ <li><a href="audio-control.html">AudioControl Control/Policy API</a>