summaryrefslogtreecommitdiffstats
path: root/scripts/dbus-call-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dbus-call-test.sh')
-rwxr-xr-xscripts/dbus-call-test.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/dbus-call-test.sh b/scripts/dbus-call-test.sh
new file mode 100755
index 0000000..f20af35
--- /dev/null
+++ b/scripts/dbus-call-test.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+echo "This is the dbus call test to check main source/sink/connection"
+
+echo Get List Main Sources
+dbus-send --system --dest=org.genivi.audiomanager --type=method_call \
+ --print-reply /org/genivi/audiomanager/commandinterface \
+ org.genivi.audiomanager.commandinterface.GetListMainSources
+
+echo Get List Main Sinks
+dbus-send --system --dest=org.genivi.audiomanager --type=method_call \
+ --print-reply /org/genivi/audiomanager/commandinterface \
+ org.genivi.audiomanager.commandinterface.GetListMainSinks
+
+echo Get List Main Connections
+dbus-send --system --dest=org.genivi.audiomanager --type=method_call \
+ --print-reply /org/genivi/audiomanager/commandinterface \
+ org.genivi.audiomanager.commandinterface.GetListMainConnections \ No newline at end of file