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