Example #1
0
 def __init__(self, bus, index, service):
     NotificationAbleCharacteristic.__init__(self, bus, index, service)
     self.add_descriptor(CharacteristicUserDescriptionDescriptor(bus, 1, self, "CPU Percentage"))
Example #2
0
 def __init__(self, bus, index, service):
     NotificationAbleCharacteristic.__init__(self, bus, index, service)
     self.add_descriptor(CharacteristicUserDescriptionDescriptor(bus, 1, self, "Memory Data"))