Lines Matching full:path
60 self.path = None
67 self.path = None
75 self.path = None
85 self.path = None
125 for path, interfaces in dbus_objs.items():
127 if adapter is not None and path.endswith(self.hci_iface):
128 … self.adapter.iface = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, path), ADAPTER_IFACE)
129 …self.adapter.props = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, path), DBUS_PROP_IFACE)
130 self.adapter.path = path
154 …props = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, self.adapter.path), DBUS_PROP_IFACE)
218 ….props = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, self.device.path), DBUS_PROP_IFACE)
219 print('connected to device with iface {}'.format(self.device.path))
261 for path, interfaces in dbus_objs.items():
266 received_device_addr_path = (path.replace('_', ':')).lower()
270 … device_props = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, path), DBUS_PROP_IFACE)
275 # Set device iface path
276 dev_path = path
288 self.device.path = dev_path
303 for path, interfaces in dbus_objs.items():
305 if not path.startswith(self.device.path):
307 received_service = self.bus.get_object(BLUEZ_SERVICE_NAME, path)
308 # Retrieve all services on device iface path
311 service.path = path
317 print('no services found for device: {}'.format(self.device.path))
331 print('No services set for device: {}'.format(self.device.path))
339 for path, interfaces in dbus_objs.items():
341 if not path.startswith(self.device.path):
343 if not path.startswith(service.path):
346 received_char = self.bus.get_object(BLUEZ_SERVICE_NAME, path)
348 char.path = path
366 print('No services set for device: {}'.format(self.device.path))
373 # Print path
374 print('Characteristic: {}'.format(char.path))
395 print('No services set for device: {}'.format(self.device.path))
402 print('No chars found for service: {}'.format(service.path))
413 print('writing {} to characteristic {}'.format(new_value, char.path))
421 print('write operation to {} failed'.format(char.path))
423 print('write operation to {} successful'.format(char.path))
515 self.gatt_app = lib_gatt.AlertNotificationApp(self.bus, self.adapter.path)
517 …mgr = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, self.adapter.path), GATT_MANAGER_IFAC…
545 for path, iface in dbus_objs.items():
547 le_adv_iface_path = path