This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Want to know the Reason for failure of DBus calls

Tags: None
(comma "," separated)
parthasarathis
Registered Member
Posts
1
Karma
0
Hi All,

I am working on the car infotainment system.
The details of the system is given below.

Platform : LINUX
IPC : Dbus
BT Stack : Bluez
Module : AddressBook

When ever i am selecting the Contacts or the Call logs the below mentioned Dbus calls are invoked and became success.
dbus_message_new_method_call(OBEX_BUS_NAME, File_TransferPath,"org.freedesktop.DBus.Properties","Get");

dbus_connection_send_with_reply_and_block(session_bus, msg, -1, &err);

In some cases the above shown Dbus calls are failing and giving the below errors.

Error Message:Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
Error Name:org.freedesktop.DBus.Error.UnknownObject

I have no clues why this Dbus call had failed.

Please help me in this regard.

Note : Both the Dbus calls are invoked to get the data from Bluez.

Thanks and regards,
Parthasarathi S
airdrik
Registered Member
Posts
1854
Karma
5
OS
You might try using a dbus viewer/browser to double-check the dbus calls you are trying to make. Qt has one called qdbus (command-line, or qdbusviewer GUI) which comes in the qt5-dev-tools package.

Checking the docs it looks like that Get method takes two parameters: the interface name and the property name.


airdrik, proud to be a member of KDE forums since 2008-Dec.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft