aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/dbus-call-connect-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dbus-call-connect-test.sh')
-rwxr-xr-xscripts/dbus-call-connect-test.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/dbus-call-connect-test.sh b/scripts/dbus-call-connect-test.sh
new file mode 100755
index 0000000..882afae
--- /dev/null
+++ b/scripts/dbus-call-connect-test.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+echo How to call connect and disconnect of AudioManager
+echo Connect
+echo dbus-send --system --dest=org.genivi.audiomanager --type=method_call \
+ --print-reply /org/genivi/audiomanager/commandinterface \
+ org.genivi.audiomanager.commandinterface.Connect uint16:xxx uint16:xxx
+echo
+echo Disconnect
+echo dbus-send --system --dest=org.genivi.audiomanager --type=method_call \
+ --print-reply /org/genivi/audiomanager/commandinterface \
+ org.genivi.audiomanager.commandinterface.Disconnect uint16:xxx
+