dbus error UnknownMethod: Method "Connect"

Yinon Levy <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <[email protected]>
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.
************************************************************************************



_______________________________________________
dbus mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.