dbus error UnknownMethod: Method "Connect"
Yinon Levy
yinon.levy at orcam.com
Mon Apr 27 04:47:32 PDT 2015
Hi,
I am trying to play music over bluetooth .
I used the following command :
hciattach -s 115200 /dev/ttymxc1 any
hciconfig hci0 up
/etc/init.d/dbus-1 start &
dbus-daemon --system
bluetoothd
TMP=`dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.FindAdapter string:$ADAP`
ADAP=`expr match "$TMP" '.*\(\".*\"\)'`
ADAP=${ADAP#\"}
ADAP=${ADAP%\"}
TMP=`dbus-send --system --print-reply --dest=org.bluez $ADAP org.bluez.Adapter.FindDevice string:$MAC`
DEV=`expr match "$TMP" '.*\(\".*\"\)'`
DEV=${DEV#\"}
DEV=${DEV%\"}
When I try to run the connect command :
dbus-send --system --print-reply --dest=org.bluez $DEV org.bluez.Audio.Connect
I got this error :
dbus-send --system --print-reply --dest=org.bluez $BTADAPTER/dev_00_11_68_13_4B_A6 org.bluez.Audio.Connect
Error org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with signature "" on interface "org.bluez.Audio" doesn't exist
Can someone know what I am do wrong?
Thanks Yinon
This mail was sent via Mail-SeCure system.
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************
More information about the dbus
mailing list