def __init__(self, device_path):
        BusBase.__init__(self,
                         path=device_path,
                         interface="org.bluez.HeadsetGateway")

        self.bus.add_signal_receiver(self.property_changed_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="PropertyChanged")

        self.bus.add_signal_receiver(self.ring_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="Ring")

        self.bus.add_signal_receiver(self.call_terminated_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="CallTerminated")

        self.bus.add_signal_receiver(self.call_started_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="CallStarted")

        self.bus.add_signal_receiver(self.call_ended_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="CallEnded")
    def __init__(self, device_path):
        BusBase.__init__(self, path=device_path, interface="org.bluez.Audio")

        self.bus.add_signal_receiver(self.property_changed_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="PropertyChanged")
    def __init__(self, adapter_path):
        BusBase.__init__(self, path = adapter_path, interface = "org.bluez.SerialProxyManager")

        self.bus.add_signal_receiver(self.proxy_created_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "ProxyCreated")

        self.bus.add_signal_receiver(self.proxy_removed_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "ProxyRemoved")
Пример #4
0
    def __init__(self, device_path):
        BusBase.__init__(self, path = device_path, interface = "org.bluez.Headset")

        self.bus.add_signal_receiver(self.property_changed_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "PropertyChanged")

        self.bus.add_signal_receiver(self.answer_requested_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "AnswerRequested")
Пример #5
0
    def __init__(self, device_path):
        BusBase.__init__(self, path = device_path, interface = "org.bluez.Control")

        self.bus.add_signal_receiver(self.connected_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "Connected")

        self.bus.add_signal_receiver(self.disconnected_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "Disconnected")

        self.bus.add_signal_receiver(self.property_changed_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "PropertyChanged")
Пример #6
0
    def __init__(self, device_path):
        BusBase.__init__(self, path = device_path, interface = "org.bluez.HealthDevice")

        self.bus.add_signal_receiver(self.channel_connected_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "ChannelConnected")

        self.bus.add_signal_receiver(self.channel_deleted_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "ChannelDeleted")

        self.bus.add_signal_receiver(self.property_changed_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "PropertyChanged")
    def __init__(self, device_path):
        BusBase.__init__(self, path=device_path, interface="org.bluez.Headset")

        self.bus.add_signal_receiver(self.property_changed_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="PropertyChanged")

        self.bus.add_signal_receiver(self.answer_requested_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="AnswerRequested")
    def __init__(self):
        BusBase.__init__(self, path = "/", interface = "org.bluez.Manager")

        self.bus.add_signal_receiver(self.adapter_added_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "AdapterAdded")

        self.bus.add_signal_receiver(self.adapter_removed_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "AdapterRemoved")

        self.bus.add_signal_receiver(self.default_adapter_changed_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "DefaultAdapterChanged")

        self.bus.add_signal_receiver(self.property_changed_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "PropertyChanged")
Пример #9
0
    def __init__(self, adapter_path):
        BusBase.__init__(self,
                         path=adapter_path,
                         interface="org.bluez.SerialProxyManager")

        self.bus.add_signal_receiver(self.proxy_created_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="ProxyCreated")

        self.bus.add_signal_receiver(self.proxy_removed_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="ProxyRemoved")
Пример #10
0
    def __init__(self, device_path):
        BusBase.__init__(self, path = device_path, interface = "org.bluez.Device")
        self.device_path = device_path

        self.bus.add_signal_receiver(self.disconnect_requested_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "DisconnectRequested")

        self.bus.add_signal_receiver(self.property_changed_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "PropertyChanged")

        self.bus.add_signal_receiver(self.node_created_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "NodeCreated")

        self.bus.add_signal_receiver(self.node_removed_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "NodeRemoved")
Пример #11
0
    def __init__(self, device_path):
        BusBase.__init__(self, path = device_path, interface = "org.bluez.HeadsetGateway")

        self.bus.add_signal_receiver(self.property_changed_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "PropertyChanged")

        self.bus.add_signal_receiver(self.ring_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "Ring")

        self.bus.add_signal_receiver(self.call_terminated_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "CallTerminated")

        self.bus.add_signal_receiver(self.call_started_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "CallStarted")

        self.bus.add_signal_receiver(self.call_ended_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "CallEnded")
Пример #12
0
    def __init__(self, adapter_path):
        print "DEBUG ", adapter_path
        BusBase.__init__(self, path = adapter_path, interface = "org.bluez.Adapter")

        self.bus.add_signal_receiver(self.device_created_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "DeviceCreated")

        self.bus.add_signal_receiver(self.device_disappeared_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "DeviceDisappeared")

        self.bus.add_signal_receiver(self.device_found_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "DeviceFound")

        self.bus.add_signal_receiver(self.device_removed_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "DeviceRemoved")

        self.bus.add_signal_receiver(self.property_changed_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "PropertyChanged")
    def __init__(self, device_path):
        BusBase.__init__(self,
                         path=device_path,
                         interface="org.bluez.HealthDevice")

        self.bus.add_signal_receiver(self.channel_connected_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="ChannelConnected")

        self.bus.add_signal_receiver(self.channel_deleted_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="ChannelDeleted")

        self.bus.add_signal_receiver(self.property_changed_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="PropertyChanged")
    def __init__(self, device_path):
        BusBase.__init__(self, path=device_path, interface="org.bluez.Device")
        self.device_path = device_path

        self.bus.add_signal_receiver(self.disconnect_requested_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="DisconnectRequested")

        self.bus.add_signal_receiver(self.property_changed_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="PropertyChanged")

        self.bus.add_signal_receiver(self.node_created_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="NodeCreated")

        self.bus.add_signal_receiver(self.node_removed_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="NodeRemoved")
Пример #15
0
 def __init__(self, adapter_path):
     BusBase.__init__(self, path = adapter_path, interface = "org.bluez.Media")
Пример #16
0
 def __init__(self, adapter_path):
     BusBase.__init__(self, path = adapter_path, interface = "org.bluez.NetworkServer")
Пример #17
0
 def __init__(self, adapter_path):
     BusBase.__init__(self,
                      path=adapter_path,
                      interface="org.bluez.SimAccess")
 def __init__(self, path):
     BusBase.__init__(self, path = path , interface = "org.bluez.Characteristic")
Пример #19
0
 def __init__(self, adapter_path):
     BusBase.__init__(self,
                      path=adapter_path,
                      interface="org.bluez.OutOfBand")
Пример #20
0
 def __init__(self, path):
     BusBase.__init__(self, path=path, interface="org.bluez.HealthChannel")
Пример #21
0
 def __init__(self, adapter_path):
     BusBase.__init__(self, path=adapter_path, interface="org.bluez.Media")
    def __init__(self, path):
        BusBase.__init__(self, path = path, interface = "org.bluez.MediaTranport")

        self.bus.add_signal_receiver(self.property_changed_cb, dbus_interface = self.object_interface, 
                                     path = self.object_path, signal_name = "PropertyChanged")
Пример #23
0
 def __init__(self, proxy_path):
     BusBase.__init__(self, path = proxy_path , interface = "org.bluez.SerialProxy")
 def __init__(self):
     BusBase.__init__(self, path = "/org/bluez/", interface = "org.bluez.HealthManager")
Пример #25
0
 def __init__(self, adapter_path):
     BusBase.__init__(self, path = adapter_path, interface = "org.bluez.SimAccess")
 def __init__(self, path):
     BusBase.__init__(self, path=path, interface="org.bluez.Characteristic")
Пример #27
0
 def __init__(self):
     BusBase.__init__(self,
                      path="/org/bluez/",
                      interface="org.bluez.HealthManager")
Пример #28
0
 def __init__(self, adapter_path):
     BusBase.__init__(self, path = adapter_path, interface = "org.bluez.OutOfBand")
Пример #29
0
 def __init__(self, adapter_path):
     BusBase.__init__(self,
                      path=adapter_path,
                      interface="org.bluez.NetworkServer")
Пример #30
0
    def __init__(self, device_path):
        BusBase.__init__(self, path = device_path, interface = "org.bluez.HandsfreeGateway")

        self.bus.add_signal_receiver(self.property_changed_cb, dbus_interface = self.object_interface,
                                     path = self.object_path, signal_name = "PropertyChanged")
 def __init__(self, path):
     BusBase.__init__(self, path = path, interface = "org.bluez.HealthChannel")
Пример #32
0
 def __init__(self, device_path):
     BusBase.__init__(self, path = device_path, interface = "org.bluez.Serial")
 def __init__(self, device_path):
     BusBase.__init__(self, path=device_path, interface="org.bluez.Serial")