summaryrefslogtreecommitdiffstats
path: root/4a-hal-references-boards-cfg/hal-4a-sample2.json
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-05-23 20:44:01 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:51:00 +0200
commitd43607bd8665d5710e5258cf237c1f79ec94b7d9 (patch)
tree93c764d1fad1c7ae5b90115db0c6ef3b191b6f6d /4a-hal-references-boards-cfg/hal-4a-sample2.json
parent7013c6de6bd016a5d30d73958a9b484e458ef23f (diff)
Change the name of controller configuration files
Change the name of controller configuration files to be sure that they will be found during 'CtlConfigScan'. Add the name that the binder should take into config.cmake to be sure that the controller configuration files will be found during 'CtlConfigScan'. Change-Id: I94c55c186c52f6f89b06400133cfbce36221d245 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal-references-boards-cfg/hal-4a-sample2.json')
-rw-r--r--4a-hal-references-boards-cfg/hal-4a-sample2.json43
1 files changed, 43 insertions, 0 deletions
diff --git a/4a-hal-references-boards-cfg/hal-4a-sample2.json b/4a-hal-references-boards-cfg/hal-4a-sample2.json
new file mode 100644
index 0000000..8448b4f
--- /dev/null
+++ b/4a-hal-references-boards-cfg/hal-4a-sample2.json
@@ -0,0 +1,43 @@
+{
+ "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
+ "metadata": {
+ "uid": "SND_CARD2",
+ "version": "0.9",
+ "api": "4a-hal-sample2",
+ "info": "Basic Audio Policy Control for Audio-4a - Sample 2",
+ "author": "Jonathan Aillet",
+ "date": "2018-05-18"
+ },
+ "onload": [
+ {
+ "uid": "init-audio-hal",
+ "info": "Retrieve Active HAL",
+ "action": "api://4a-hal-manager#ping"
+ }
+ ],
+ "controls": [
+ {
+ "uid": "Master-Volume-Set",
+ "info": "Set Master Volume",
+ "privileges": "audio",
+ "action": "api://4a-hal-manager#ping"
+ },
+ {
+ "uid": "Master-Volume-Ramp",
+ "info": "Ramp master Volume",
+ "privileges": "audio",
+ "action": "api://4a-hal-manager#ping"
+ },
+ {
+ "uid": "ping2",
+ "info": "Ping hal",
+ "action": "api://4a-hal-manager#ping"
+ }
+ ],
+ "events": [
+ {
+ "uid": "api/status_changed",
+ "action": "api://4a-hal-manager#ping"
+ }
+ ]
+} \ No newline at end of file