Qt- object path problem

Thiago Macieira thiago at kde.org
Thu Jul 14 12:08:55 PDT 2011


On Thursday, 14 de July de 2011 16:56:47 sangram.kumar.yerra at accenture.com 
wrote:
>   But during pairing , when even a call is made by bluez to my interface i.e
> RequestPinCode ..it says " Unable to find method RequestPinCode on path
> /AgentPath in interface org.bluez.Agent "
> 
> 
>    There is another method called Release in the same interface  and this is
> successfully getting called  by bluez..So the interface and object path
> registered is correct..
> 
>    To test whether the interface and path is all correct , I tried calling
> that method method manually using d-feet and also using dbus-send command
> ..and I was able to successfully call ..but when bluez makes this call ..it
> fails .. Is there any specific way , or specific thing to be done to
> receive an object path..
> 
>  I implemented the above using Glib bindings , and I am able to get the
> request pin code method call..but Not in QT....Can anyone throw any light

Try running your application with QDBUS_DEBUG=1 and compare the message 
received when it's sent by bluez and when you make the raw call using dbus-
send.

Otherwise, I need a testcase.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20110714/de10ab1d/attachment.pgp>


More information about the dbus mailing list