Comments (7)
Is this another library also using libdbus?
from dbussy.
Somewhere below it is, combined with the glib's event loop.
from dbussy.
So can you get back a DBusConnection
pointer from it?
from dbussy.
It uses dbus.SystemBus()
from dbus-python
. That kind of looks like the best candidate I have atm for what you've asked. :)
https://github.com/getsenic/gatt-python/blob/master/gatt/gatt_linux.py#L33
from dbussy.
DBussy is not compatible with dbus-python
. As far as I know, there is no way to ask the latter for the underlying DBusConnection
pointer from libdbus
. Sorry.
from dbussy.
All good, thanks.
Just for me to understand, to be able to have a dbus interface registered there needs
to be an event loop running (or any kind of a dedicated d-bus application) somewhere to maintain it?
When I referred to:
dbussy to expose a D-bus connection with blocking code
I was coming with an analogy of spraying a message on a wall. Where a wall
was the underlying system bus, and spraying a message
was the the synchronous blocking call. So once you spray the paint it it stays on the wall regardless of the spray can. Seems like this was wrong :)
from dbussy.
DBussy stores the underlying libdbus
pointers as low-level ctypes.c_void_p
values, so you can peek at these and take your life in your hands with it if you choose. But dbus-python
hides all that within its C code, where you canβt get at it.
from dbussy.
Related Issues (20)
- StructType inside ArrayType are broken HOT 2
- Cannot return a single value HOT 4
- unregister specific interface HOT 3
- Example of ravel.ManagedObjectsHandler().get_managed_objects(...) HOT 2
- How to strip signatures from arguments HOT 5
- How to pass signatures HOT 4
- Help needed to migrating a wifi agent HOT 8
- Possible examples HOT 1
- Apparently harmless Exception in ravel.py HOT 12
- Openning a connection to a separate D-BUS bus HOT 2
- Support matching on arg0 for ravel's `listen_signal()`
- High CPU usage for `_reaper` HOT 2
- Adding argument of an Array of Dictionaries leads to AttributeError HOT 2
- Exceptions in asynchronous property setting not propagated to the user code HOT 10
- Diagnosis: Name Issue
- Strange behavior on ravel connection object deletion HOT 6
- Should there be a ravel.Connection.listen_signal_async? HOT 1
- Move away from distutils HOT 1
- Trouble sending a message with an argument of type "aay" HOT 2
- Cannot run loop in IDE HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbussy.