aboutsummaryrefslogtreecommitdiffstats
path: root/htdocs/audio-control.html
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-08-21 14:57:04 +0200
committerFulup Ar Foll <fulup@iot.bzh>2017-08-21 14:57:04 +0200
commitddb43e0c12722db65ebf6362e79ec89130769662 (patch)
treed2d0d221af74da02511918586feb7eaac0c24a88 /htdocs/audio-control.html
parentc15c9049c155b82522748496f016dd18bddde04b (diff)
Fix Controller API
Diffstat (limited to 'htdocs/audio-control.html')
-rw-r--r--htdocs/audio-control.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/htdocs/audio-control.html b/htdocs/audio-control.html
index 6b7872f..fe1120b 100644
--- a/htdocs/audio-control.html
+++ b/htdocs/audio-control.html
@@ -30,10 +30,10 @@
<li><button onclick="callbinder('control','dispatch' ,{'target':'multimedia','args':{'apihal':sndcard}});">Dispatch Mutimedia</button></li>
<li><button onclick="callbinder('control','dispatch' ,{'target':'emergency' });">Dispatch Emergency</button></li>
<br>
- <li><button onclick="callbinder('control','lua_dostring','print(\'Bonjours\'); return true, 1234');">LUA string</button></li>
- <li><button onclick="callbinder('control','lua_docall' , {'func':'_Simple_Echo_Args', 'args':{speed:20}});">LUA function</button></li>
- <li><button onclick="callbinder('control','lua_doscript', {'script':'helloworld.lua', args:{'arg1':'abcd', 'next':7890, 'last':[1,2,3,4]}});">LUA script</button></li>
- <li><button onclick="callbinder('control','lua_docall' , {'func':'_Simple_Timer_Test', args:{label:'MyTimer', 'delay':3000, 'count':10}});">LUA Timer</button></li>
+ <li><button onclick="callbinder('control','request' , {'target':'_Simple_Echo_Args', 'args':{speed:20}});">LUA function</button></li>
+ <li><button onclick="callbinder('control','request' , {'target':'_Simple_Timer_Test', args:{label:'MyTimer', 'delay':3000, 'count':10}});">LUA Timer</button></li>
+ <li><button onclick="callbinder('control','scriptlua', {'target':'helloworld.lua', args:{'arg1':'abcd', 'next':7890, 'last':[1,2,3,4]}});">LUA script</button></li>
+ <li><button onclick="callbinder('control','execlua','print(\'Bonjours\'); return true, 1234');">LUA string</button></li>
</ol>