def GetAll(self, interface): print('GetAll') if interface != LE_ADVERTISEMENT_IFACE: raise exceptions.InvalidArgsException() print('returning props') return self.get_properties()[LE_ADVERTISEMENT_IFACE]
def GetAll(self, interface): if interface != GATT_DESC_IFACE: raise exceptions.InvalidArgsException() return self.get_properties()[GATT_DESC_IFACE]