From b65178642727536972d0c04e53b2310be58beb2e Mon Sep 17 00:00:00 2001 From: fulup <fulup.arfoll@iot.bzh> Date: Fri, 11 Aug 2017 19:44:21 +0200 Subject: Almost working version with Json Config, Lua script and sharelib callbacks. --- htdocs/audio-control.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'htdocs') diff --git a/htdocs/audio-control.html b/htdocs/audio-control.html index 3be1ef7..318caba 100644 --- a/htdocs/audio-control.html +++ b/htdocs/audio-control.html @@ -24,7 +24,11 @@ <br> <ol> - + + <li><button onclick="callbinder('control','navigation' ,{'var': 'nav'});">Select Navigation</button></li> + <li><button onclick="callbinder('control','multimedia' ,{'xxx': 'multi'});">Select Mutimedia</button></li> + <li><button onclick="callbinder('control','emergency' ,{'yyy': 'emerg'});">Select Navigation</button></li> + <br> <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> -- cgit 1.2.3-korg