python - Calling Dbus method without expecting a reply -


i have dbus client written in python call exposed dbus methods. code follows

bus = dbus.sessionbus() service = bus.get_object(panel_bus_name, panel_bus_object) __panelinterface = dbus.interface(service, panel_bus_interface) __panelinterface.setbtconnected() 

the problem when method called first time, takes while exposed method executed. understanding dbus expects reply method's process times out. however, fail understand method gets executed if called again. in other words, block occurs first time. can recommend me remedy behavior , me understand it??

you might find useful debug d-bus analysis tool bustle or dbus-monitor. show when messages , replies sent, whether errors returned, , time spent.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -