summaryrefslogtreecommitdiffstats
path: root/conf.d
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 /conf.d
parentc15c9049c155b82522748496f016dd18bddde04b (diff)
Fix Controller API
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/project/alsa.d/asoundrc.sample2
-rw-r--r--conf.d/project/lua.d/doscript-helloworld.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/conf.d/project/alsa.d/asoundrc.sample b/conf.d/project/alsa.d/asoundrc.sample
index b208a09..4ea04dc 100644
--- a/conf.d/project/alsa.d/asoundrc.sample
+++ b/conf.d/project/alsa.d/asoundrc.sample
@@ -62,7 +62,7 @@ pcm.MyNavigationHook {
verbose true # print few log messages (default false);
# Every Call should return OK in order PCM to open (default timeout 100ms)
- uri "ws://localhost:1234/api?token='audio-agent-token'"
+ uri "ws://localhost:1234/api?token=audio-agent-token&uuid=audio-agent-session"
request {
# Request autorisation to write on navigation
RequestNavigation {
diff --git a/conf.d/project/lua.d/doscript-helloworld.lua b/conf.d/project/lua.d/doscript-helloworld.lua
index a06c3db..7a41971 100644
--- a/conf.d/project/lua.d/doscript-helloworld.lua
+++ b/conf.d/project/lua.d/doscript-helloworld.lua
@@ -21,7 +21,7 @@
--]]
-local function helloworld (request, query)
+function _helloworld (request, query)
AFB:notice ("LUA HelloWorld: Simple test query=%s", query);