Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing support for selecting signals for specific interfaces at dbus level #73

Open
pkcinna01 opened this issue Apr 27, 2021 · 0 comments

Comments

@pkcinna01
Copy link

pkcinna01 commented Apr 27, 2021

When using python to access ofono, it is possible to listen to a specific signal and interface instance by specifying the signal name and path. dbus-next getInterface() only has a string for the interface name but it would be nice to also select the instance of the interface with a path.

Python example to listen for a specific modem:
systemBus.add_signal_receiver(someCallbackForSignalsToPhone, signal_name="CallAdded", bus_name="org.ofono", dbus_interface="org.ofono.VoiceCallManager", path="/hfp/org/bluez/hci0/dev_FC_D4_36_C0_2A_5A")

@pkcinna01 pkcinna01 reopened this Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant