Questions tagged [gdbus]

Tool for working with D-Bus objects

Simple tool for working with D-Bus objects: More info: manual

102 questions
0
votes
1 answer

Get GDBusConnection for Bus name that's already owned

I would like to register an object for a Bus name that's already owned. Below is how I would register an object on a new Bus, but own_name fails if the Bus already exists. Can I retrieve the DBusConnection object some other way so I can call…
Ava
  • 2,038
  • 3
  • 23
  • 45
0
votes
1 answer

Register more than one MPRIS player with GDBus

I want to register more than one media player with glib. Minimal (non-)working example is here. As I can understand the specification, I should export many objects with the one name /org/mpris/MediaPlayer2 and that's strange.
f1u77y
  • 146
  • 4
0
votes
0 answers

How to replace socket transport unix:// on Windows 7 Pro for python-based dbus-system?

I try to use this library to implement DBus on windows: https://github.com/LEW21/pydbus: I get error: Unknown or non-supported transport method unix:// for address unix:oath=/var/run/dbus/system_bus_socket If anyone knows straight-out-of-the-box…
Triq
  • 31
  • 6
0
votes
1 answer

What is alternative GDBus API on each dbus API?

For example, I used g_dbus_connection_setup_with_g_main function. But Here I could find that this function is deprecated. But there's no information which function can alternate the function. Where can I find that information?
Joffrey
  • 301
  • 5
  • 16
0
votes
1 answer

how to add interface on gdbus object (/org/bluez/hci1) for bluez 5.35?

I am using bluez5.35 for my application development and while debugging come across that /org/bluez/hci1 provides only 8 interfaces.(org.bluez.Adapter1, CyclingSpeedManager1, HeartRateManager1, Media1, NetworkServer1, ThermometerManager1,…
FTW
  • 11
  • 2
0
votes
1 answer

How can i display the interfaces inside a particular object path in DBus

I need to use a terminal command. I can use gdbus also. I have the bus name the object path i need to display all the interface inside the object path
0
votes
1 answer

Generator of C code for Bluez

I'm about to develop my program bluetooth in C on ARM platform, which is supposed to be able to exchange information with bluez via dbus interface. I have succeeded in cross-compiling the Bluez, but the part of "client" in C is always a big work…
0
votes
1 answer

what is the gdbus API which i can call from c application to send command and receive data from pulse oximeter which uses Bluetooth HDP profile

I am I am trying to communicate with the Pulse oximeter which uses Bluetooth HDP profile. I am writing a C application which uses gdbus API to communicate with BLUEZ stack. Can any one tell me which gdbus API can i use to send command and receive…
Jyothi
  • 21
  • 4
0
votes
1 answer

How to marshal dbus string array (ao) type?

I'm using gdbus bindings. Here is part of my interface:
Peter
  • 331
  • 3
  • 11
0
votes
2 answers

gdbus-monitor - interface ``

Has the interface in the gdbus-monitor output a special meaning? What API call is required to create such a message using GDbus (g_dbus_connection_register_object does not allow to pass NULL as GDBusInterfaceInfo * and that seems to be the…
drahnr
  • 6,782
  • 5
  • 48
  • 75
0
votes
1 answer

dbus - register object to remote on interface NULL

I have to deal with a binary blob dbus service/server which I need to connect to via dbus (session). The introspection of the interface is as following (obtained via gdbus-codegen). We register a function to the remote so we get notified if a…
drahnr
  • 6,782
  • 5
  • 48
  • 75
-1
votes
1 answer

How to get the open windows of Nemo file manager by Dbus command

As you can see in the image bellow there are (org.Nemo) : /org/Nemo/window/1 /org/Nemo/window/2 /org/Nemo/window/3 /org/Nemo/window/4 I have four windows open and it shows that. Each window has a GetMachineID command. How can I find how many…
Ahmad Ismail
  • 11,636
  • 6
  • 52
  • 87
1 2 3 4 5 6
7